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

Add scroll boundaries to windows #49

Open
scallyw4g opened this issue Feb 28, 2024 · 0 comments
Open

Add scroll boundaries to windows #49

scallyw4g opened this issue Feb 28, 2024 · 0 comments

Comments

@scallyw4g
Copy link
Owner

It would be nice if it were impossible to scroll up/down past the boundaries of the content in windows.

Bonus points for adding a little juice by being able to scroll a little way past the end (or top) and having the scroll lerp back to where the hard-stop would have been, like OSX does.

The code that does the scrolling is in stdlib/src/ui/ui.cpp, UiFrameEnd line 2955

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant