|
Here is the fix that should be integrated in Pharo 8:
handleMouseEnter: anEvent "System level event handling."
anEvent isDraggingEvent ifTrue: [ (self handlesMouseOverDragging: anEvent) ifTrue: [ anEvent wasHandled: true. self mouseEnterDragging: 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 ] ifFalse: [ self eventHandler ifNotNil: [ :handler | handler mouseEnter: anEvent fromMorph: self ] ]
===================
handleMouseLeave: anEvent "System level event handling."
anEvent hand removePendingBalloonFor: self. anEvent isDraggingEvent ifTrue: [ (self handlesMouseOverDragging: anEvent) ifTrue: [ anEvent wasHandled: true. self mouseLeaveDragging: anEvent ]. ^ self eventHandler ifNotNil: [ :handler | handler mouseLeave: anEvent fromMorph: self ] ]. ^ (self handlesMouseOver: anEvent) ifTrue: [ anEvent wasHandled: true. self mouseLeave: anEvent ] ifFalse: [ self eventHandler ifNotNil: [ :handler | handler mouseLeave: anEvent fromMorph: self ] ]
|
|
|
Priority: 3 – Must Fix
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Pharo8.0
|
Go to Case
|
|