-
Notifications
You must be signed in to change notification settings - Fork 27
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 doesn't work if line partially off screen #37
Comments
@zk-phi Thanks for the fast response. I can't really tell in that animation, but you could do it this way:
Let me know if that works, thanks! |
Thanks, I'll inspect later :) |
I filed a similar bug at #55. I think this is a sub-issue, as a user should be able to specify a I don't have a fix for the general case of a scroll margin, but I did submit a pull request that solves the partial line scroll issue described here. |
I'm using Mitsuharu Yamamoto's Emacs for Mac, which supports pixel-level (as opposed to line-by-line) scrolling. I've noticed that when the page is resting on a non-line boundary (i.e. a line is only partially visible with part of it off screen), moving the cursor onto that last (or first) line causes the page to skip the way it does by default without sublimity. If on the other hand the cursor is on a line that is fully on screen, sublimity smooth scrolling kicks in and it doesn't skip.
It ought to smooth-scroll in either case.
The text was updated successfully, but these errors were encountered: