Skip to content

Commit

Permalink
Small clean EyeInspector: remove Test, move #resize on ImageMorph to …
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusDenker committed Mar 1, 2018
1 parent d25ad35 commit c7ba471
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 49 deletions.
6 changes: 6 additions & 0 deletions src/Morphic-Base/ImageMorph.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,12 @@ ImageMorph >> releaseCachedState [

]

{ #category : #other }
ImageMorph >> resize: newSize [

self form: (image scaledToSize: newSize)
]

{ #category : #testing }
ImageMorph >> shouldFlex [
^ true.
Expand Down
6 changes: 3 additions & 3 deletions src/Morphic-Base/TextMorph.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ TextMorph >> editor [
TextMorph >> editorClass [
"Answer the class used to create the receiver's editor"

^SmalltalkEditor
^TextEditor
]

{ #category : #accessing }
Expand Down Expand Up @@ -849,8 +849,8 @@ TextMorph >> getLastCharacter [
{ #category : #'event handling' }
TextMorph >> getMenu: shiftKeyState [
^ shiftKeyState not
ifTrue: [TextEditor yellowButtonMenu]
ifFalse: [TextEditor shiftedYellowButtonMenu]
ifTrue: [editor yellowButtonMenu]
ifFalse: [editor shiftedYellowButtonMenu]
]

{ #category : #'submorphs-add/remove' }
Expand Down
39 changes: 0 additions & 39 deletions src/Spec-Inspector/EyeInspectorTest.class.st

This file was deleted.

7 changes: 0 additions & 7 deletions src/Spec-Inspector/ImageMorph.extension.st

This file was deleted.

0 comments on commit c7ba471

Please sign in to comment.