Skip to content

Controls: Improve alt-left click to draw zoom region#3896

Merged
swharden merged 4 commits intoScottPlot:mainfrom
MCF:fix-alt-click-zoom-rectangle
Jun 5, 2024
Merged

Controls: Improve alt-left click to draw zoom region#3896
swharden merged 4 commits intoScottPlot:mainfrom
MCF:fix-alt-click-zoom-rectangle

Conversation

@MCF
Copy link
Contributor

@MCF MCF commented Jun 3, 2024

Alt-left click now used to start drawing the rectangle only. Alt key is ignored for the remainder of the region's rectangle draw and The zoom occurs upon left click button release only.

Resolves #3845

Alt-left click now used to start drawing the rectangle only.  Alt key is
ignored for the remainder of the region's rectangle draw and The zoom
occurs upon left click button release only.

Resolves ScottPlot#3845
@MCF MCF force-pushed the fix-alt-click-zoom-rectangle branch from a440053 to a66d326 Compare June 3, 2024 18:32
@swharden swharden enabled auto-merge (squash) June 5, 2024 12:21
@swharden swharden merged commit 11bcc44 into ScottPlot:main Jun 5, 2024
@MCF MCF deleted the fix-alt-click-zoom-rectangle branch June 5, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SP5: Alt-Right click to draw zoom region fails if the alt key is released before click is released

2 participants