Skip to content

Commit

Permalink
Merge pull request #3034 from patrickcleeve2/meteor-update-focus-ui-c…
Browse files Browse the repository at this point in the history
…ontrol

[feat] add control modifier for meteor focus
  • Loading branch information
pieleric authored Feb 18, 2025
2 parents 83322b6 + c391ecc commit e9b3c84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/odemis/gui/comp/miccanvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,8 @@ def on_motion(self, evt):
if CAN_FOCUS in self.abilities and self.right_dragging:
if evt.ShiftDown():
softener = 0.1 # softer
elif evt.ControlDown():
softener = 10 # faster
else:
softener = 1

Expand Down

0 comments on commit e9b3c84

Please sign in to comment.