Skip to content

Commit

Permalink
revert this to old because it was already handled
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed May 6, 2020
1 parent f7b9079 commit da964fa
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/Morphic-Core/Morph.class.st
Expand Up @@ -2949,12 +2949,10 @@ Morph >> handleMouseEnter: anEvent [
^ self eventHandler ifNotNil: [ :handler | handler mouseEnterDragging: anEvent fromMorph: self ] ].
self wantsBalloon ifTrue: [ anEvent hand triggerBalloonFor: self after: self balloonHelpDelayTime ].

(self handlesMouseOver: anEvent)
ifTrue: [
anEvent wasHandled: true.
self mouseEnter: anEvent ].

^ self eventHandler ifNotNil: [ :handler | handler mouseEnter: anEvent fromMorph: self ]
^ (self handlesMouseOver: anEvent)
ifTrue: [ anEvent wasHandled: true.
self mouseEnter: anEvent ]
ifFalse: [ self eventHandler ifNotNil: [ :handler | handler mouseEnter: anEvent fromMorph: self ] ]
]

{ #category : #'events-processing' }
Expand Down

0 comments on commit da964fa

Please sign in to comment.