Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change frequency zoom so that frequency under cursor remains the same #1300

Merged
merged 2 commits into from
Jun 22, 2022

Conversation

srcejon
Copy link
Collaborator

@srcejon srcejon commented Jun 22, 2022

This patch changes the spectrum frequency zoom so that the frequency under the cursor remains the same after the zoom. This makes it easier to zoom in to a particular peak.

Currently, if you zoom using the scroll wheel with the cursor over the peak highlighted in green (i.e. one that isn't at the centre of the spectrum):

image

the peak will have moved to the right of the cursor after the first zoom increment. If you then zoom again several times without moving the mouse back over the peak, the peak may disappear of the right off the screen.

With this patch, it should stay where it is, relative to the cursor, so you can zoom all the way in to it, without moving the mouse.

@f4exb f4exb merged commit b6b9bb6 into f4exb:master Jun 22, 2022
@srcejon srcejon deleted the frequency_zoom branch June 24, 2022 07:22
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.

2 participants