Skip to content

fix ConfigGuiScreen visibility checks#75

Merged
Alexdoru merged 6 commits into
Alexdoru:masterfrom
shvaich:config_gui_edit
Jul 16, 2026
Merged

fix ConfigGuiScreen visibility checks#75
Alexdoru merged 6 commits into
Alexdoru:masterfrom
shvaich:config_gui_edit

Conversation

@shvaich

@shvaich shvaich commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

removed margin from from visiblity calculation since bottom margin doesnt matter there.
also fixed a bug where it was possible to click on elements who arent currently visible.
to see this bug in action, click on the 'Vanilla' category, scroll down until you see a color-gui-element at the bottom, click on the 'Vanilla' category again and then click on the space where the 'Change' button of the color-gui-element was.
even tho the element isnt currently visible, the click will be accepted because the elements buttons 'x' and 'y' position havent been updated

@Alexdoru Alexdoru closed this Jul 15, 2026
@Alexdoru Alexdoru reopened this Jul 15, 2026
@Alexdoru
Alexdoru merged commit 5a15201 into Alexdoru:master Jul 16, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants