Ticket #580 (closed enhancement: fixed)

Opened 8 years ago

Last modified 7 years ago

Support ctrl+click to zoom out

Reported by: curtis Owned by: gharris
Priority: major Milestone: imagej2-b1-initial
Component: UI Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

With the zoom tool, right click will zoom out. (This works in IJ1 as well.) But IJ1 also supports Ctrl+click as zoom out, which we need to support in IJ2.

The underlying issue is that it is not obvious how to check which modifier keys are being held (esp. in a non-AWT way). Perhaps the MsEvent or superclass needs to embed the modifier keys in the event?

Change History

comment:1 Changed 8 years ago by gharris

  • Owner changed from curtis to gharris
  • Status changed from new to assigned

comment:2 Changed 7 years ago by curtis

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in 7ce554b52a3425ac7608e115e0afdb77e53f47c4.

This was made possible by the addition of modifier flag tracking in the input event hierarchy (see cdbbccfc15296dfa6a3d643579cb57a7d2690e10 and a8d43d6cca754971867e4a9ef6ff5d23f790252e).

Note: See TracTickets for help on using tickets.