TimeLineAnnotator / desktop

A GUI for graphical analysis and annotation of video and audio files.
https://tilia-app.com
Creative Commons Attribution Share Alike 4.0 International
8 stars 2 forks source link

Zooming is causing vertical scrolling of timeline area #141

Open azfoo opened 1 week ago

azfoo commented 1 week ago

This is only observable, of course, when the timelines are "taller" than the visible timeline area, which causes a vertical scrollbar to appear.

azfoo commented 1 week ago

I have an easy fix, and a proposal. It would seem that on most applications, scroll wheel alone causes vertical scrolling, with the shift key it scrolls horizontally and with control it zooms. That looks like something that can be easily implemented. Would you like to try that instead?

FelipeDefensor commented 1 week ago

I have an easy fix, and a proposal. It would seem that on most applications, scroll wheel alone causes vertical scrolling, with the shift key it scrolls horizontally and with control it zooms. That looks like something that can be easily implemented. Would you like to try that instead?

Now that's something I haven't thought about. Since the horizontal zoom was such a basic feature I implemented it, with the mouse wheel, way before I even thought about vertical scrolling, so it never occurred to me that the mouse wheel could be useful for both.

I'm conflicted about this. On the one hand, horizontal zooming will be much more common to our users, which points to using the simpler shortcut. On the other hand, like you said, users will be used to scrolling vertically with the mouse wheel, although the great majority of analyses, I imagine, won't even have enough timeline to make vertical scrolling possible.