Skip to content

Commit

Permalink
state generator
Browse files Browse the repository at this point in the history
  • Loading branch information
plantec committed Nov 17, 2023
1 parent f670f8f commit 1ba5aea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Toplo-Examples/ToSandBox.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -1921,7 +1921,7 @@ ToSandBox class >> example_lookEventTrace [
but
when: ToElementLookEvent
do: [ :evt | evt target = but ifTrue: [ evt traceCr ] ].
but stillPressedStartDelay: 800 milliSeconds.
but stillPressedStartDelay: 3000 milliSeconds.
but openInSpace
]

Expand Down
3 changes: 2 additions & 1 deletion src/Toplo/ToSkinStateGenerator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,9 @@ ToSkinStateGenerator >> mouseUpOutsideEvent: anEvent [
anEvent originalEvent target hasInParentChain: target ]) ifTrue: [
^ self ].
dragged := false.
self generateReleasedStateFromEvent: anEvent.
self generateLeavedStateFromEvent: anEvent.
self generateReleasedStateFromEvent: anEvent

]

{ #category : 'mouse handlers' }
Expand Down

0 comments on commit 1ba5aea

Please sign in to comment.