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

Enable scrolling of output with UI scale changes #82079

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

RoyBerube
Copy link
Contributor

Fixes #82041

Changing the UI custom scale could prevent editor output window from scrolling.

Cause: The logic for determining to scroll the editor output window could be adversely affected by the UI custom scaling.

Solution: Added rounding to vscroll->getpage() within the logic for determining if the output window should scroll.

@RoyBerube RoyBerube requested a review from a team as a code owner September 21, 2023 22:35
@Calinou Calinou added bug topic:editor topic:gui cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release labels Sep 21, 2023
@Calinou Calinou added this to the 4.2 milestone Sep 21, 2023
@tokengamedev
Copy link

Can this be reviewed and merged. Causing inconvenience in debugging.
Thanks

@AThousandShips AThousandShips modified the milestones: 4.2, 4.3 Nov 6, 2023
@AThousandShips AThousandShips added the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Nov 6, 2023
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally (rebased on top of master 4c96e96), it works as expected.

Scales tested: 75%, 100%, 115%, 125%, 150%, 175%, 200%

Please squash the commits together so we can merge this. See PR workflow for instructions 🙂

@RoyBerube
Copy link
Contributor Author

Commits are now squashed down to one commit.

@akien-mga akien-mga merged commit cbae800 into godotengine:master Dec 4, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@YuriSizov YuriSizov removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Dec 5, 2023
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.2.1.

@YuriSizov YuriSizov removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Jan 23, 2024
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.1.4.

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

Successfully merging this pull request may close these issues.

Output window doesn't scroll with certain editor scale settings
6 participants