Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

xychart: Pivot position for ctrl+scroll zooming is not adjusted correctly #50

Open
ghost opened this issue Jan 15, 2018 · 0 comments
Open
Labels
bug Issue is an acknowledged bug, should be fixed

Comments

@ghost
Copy link

ghost commented Jan 15, 2018

When ctrl+scrolling to zoom in and out, the mouse position can sometimes be used as a "pivot" for the zoom operation (either because the selection is not in the current visible range, or if the shift key is used to force it).

Right now this pivot position is not determined correctly in XYChart widgets. It would need to be adjusted with regards to the chart area. This is not as bad as with selection, where it's immediately obvious the position is offset. The same adjustment as the position used for selection should be used.

@ghost ghost added the bug Issue is an acknowledged bug, should be fixed label Jan 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue is an acknowledged bug, should be fixed
Projects
None yet
Development

No branches or pull requests

0 participants