We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ba390f commit 581bc90Copy full SHA for 581bc90
src/Bloc/BlMouseProcessor.class.st
@@ -34,8 +34,9 @@ BlMouseProcessor >> canBeClickEvent: aMouseUpEvent [
34
^ dndInProgress not
35
and: [ previousMouseDownEvent isNotNil
36
and: [ previousMouseDownEvent primaryButtonPressed
37
- and: [ "aMouseUpEvent target = previousMouseDownEvent target"
38
- ((aMouseUpEvent position - previousMouseDownEvent position) r <= self startDragThreshold) ] ] ]
+ and: [ aMouseUpEvent target class = previousMouseDownEvent target class
+ and: [ (aMouseUpEvent position - previousMouseDownEvent position) r
39
+ <= self startDragThreshold ] ] ] ]
40
]
41
42
{ #category : #'event testing' }
0 commit comments