Skip to content

Commit

Permalink
Removing usage of testing method on mouse events.
Browse files Browse the repository at this point in the history
  • Loading branch information
botwhytho committed Jun 27, 2024
1 parent 95024f4 commit 11e1201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GToolkit-Mondrian-Phlow/GtPhlowMondrianView.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ GtPhlowMondrianView >> asElementDo: aBlock [
transformedObject := transformation cull: graphModel.
mondrianElement phlow spawnObject: transformedObject ] ];
when: BlMouseWheelEvent
do: [ :event |
event primaryModifierPressed
do: [ :event |
event modifiers = BlKeyModifiers primary
ifTrue: [ event isPrimarilyVertical
ifTrue: [ | eventYvector newZoomLevel scalingFactor |
event consumed: true.
Expand Down

0 comments on commit 11e1201

Please sign in to comment.