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

disable/adapt frame shifting when at the border #490

Open
kdarras opened this issue Aug 14, 2024 · 0 comments
Open

disable/adapt frame shifting when at the border #490

kdarras opened this issue Aug 14, 2024 · 0 comments
Labels
adjustment small change needed

Comments

@kdarras
Copy link

kdarras commented Aug 14, 2024

related to #144 , it is weird that frame shifting works even when we have reached the start or end of the recording: pressing the left or right arrows will further compress the view.
We should disable the frame shifting when the start/end of the spectrogram is reached, and when we are near to the border such that a full frame shift cannot be made, we should only shift the frame as far as it is possible to move without changing the temporal extent (i.e., the zoomed-in box should keep the same width after shifting and thus only partly move towards the border).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adjustment small change needed
Projects
Status: Todo
Development

No branches or pull requests

1 participant