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

correct height when a uilist has desired_bounds not including height #77219

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

db48x
Copy link
Contributor

@db48x db48x commented Oct 21, 2024

Summary

Bugfixes "calculate correct height when a uilist has desired_bounds not including a height"

Purpose of change

Fixes #77191

Describe the solution

When the desired bounds doesn't include a height, use the screen height instead of -1 as the desired height.

Screencast.from.2024-10-20.21-25-04.mp4

When the desired bounds doesn't include a height, use the screen
height instead of -1 as the desired height.
@github-actions github-actions bot added <Bugfix> This is a fix for a bug (or closes open issue) Info / User Interface Game - player communication, menus, etc. [C++] Changes (can be) made in C++. Previously named `Code` labels Oct 21, 2024
src/ui.cpp Outdated Show resolved Hide resolved
src/ui.cpp Outdated Show resolved Hide resolved
@db48x db48x force-pushed the uilist-categories-height-bug branch from 64125dc to a9a0c10 Compare October 21, 2024 07:10
@github-actions github-actions bot added astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels Oct 21, 2024
@dseguin dseguin merged commit b4838b3 into CleverRaven:master Oct 21, 2024
25 checks passed
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

interactable menus collapsing
3 participants