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

egui: fix scroll not sticking when scrollbar is hidden #3434

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

LoganDark
Copy link
Contributor

Before:

Recording.2023-10-02.221145.mp4
Recording.2023-10-02.221239.mp4

After:

Recording.2023-10-02.222454.mp4

@LoganDark

This comment was marked as outdated.

@LoganDark LoganDark marked this pull request as draft October 3, 2023 05:29
egui used to completely skip the stick calculation when the
scrollbars were not visible, which is incorrect.
@LoganDark
Copy link
Contributor Author

on second thought and some testing, this is fine actually. This fix should be OK as implemented

@LoganDark LoganDark marked this pull request as ready for review October 3, 2023 05:37
@LoganDark LoganDark changed the title Fix scroll sticking when scrollbars are not visible egui: fix scroll not sticking when scrollbar is hidden Oct 3, 2023
@LoganDark

This comment was marked as resolved.

@LoganDark
Copy link
Contributor Author

LoganDark commented Nov 10, 2023

There, fixed that up for you. And welcome back!

@LoganDark LoganDark requested a review from emilk November 10, 2023 20:46
@emilk emilk added bug Something is broken egui labels Nov 15, 2023
@emilk emilk merged commit fb8fa67 into emilk:master Nov 15, 2023
20 of 21 checks passed
@LoganDark LoganDark deleted the stick-to-end-fix branch November 15, 2023 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken egui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants