Skip to content

Commit

Permalink
disable doubleclick in case the the editor element is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
plantec committed Sep 25, 2024
1 parent 274796e commit ebb0411
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Album/AlbTextEditorDoubleClickHandler.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ AlbTextEditorDoubleClickHandler >> doubleClickEvent: anEvent [

anEvent isConsumed ifTrue: [ ^ self ].
anEvent consume.
element isEnabled ifFalse: [ ^ self ].

screenPosition := (element
localBoundsToMine: (BlBounds origin: anEvent localPosition extent: 0.0 @ 0.0)
Expand Down

0 comments on commit ebb0411

Please sign in to comment.