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

Smooth Scrolling support? #6

Open
ranenvious opened this issue Aug 10, 2023 · 1 comment
Open

Smooth Scrolling support? #6

ranenvious opened this issue Aug 10, 2023 · 1 comment

Comments

@ranenvious
Copy link

Would it be feasible to add smooth scrolling? I took a peek at the dependencies and code and it looks like this program uses a QT scroll widget (at least that's what I'm assuming what it is because a lot of the names are things like Qscroll or QGraphicsView, etc.) which should have smooth scrolling built in from what I can tell online, but in mangareader it's still lock-stepped.

I haven't programmed with Qt before, but I glanced at some of your code for parts that seemed relevant and glanced at some documentation and I think it should be easy to add but I might be missing something. (again, zero experience with writing in Qt)

I looked at https://doc.qt.io/qt-5.15/qt.html#ApplicationAttribute-enum for all mentions of scrolling and found https://doc.qt.io/qt-5.15/qt.html#ScrollPhase-enum which, while I can't find any explanations for scrollphase online, looks like it might be for smooth scrolling.

@g-fb
Copy link
Owner

g-fb commented Aug 10, 2023

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

No branches or pull requests

2 participants