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

Change controls to take a packed "rect" instead of x, y, width, height #6873

Merged
merged 10 commits into from
Sep 8, 2024

Conversation

Regisle
Copy link
Member

@Regisle Regisle commented Nov 21, 2023

This change currently has no functional difference, but is potentially useful for future changes and has other benefits discussed on discord

The spacing was made consistent with how the anchor is spaced, eg
new("ScrollBarControl", {"RIGHT",self,"RIGHT"}, {-2, 0, 18, 0}, 80, "VERTICAL", true)
or new("ButtonControl", { "LEFT", self.controls.treeHeatMapStatSelect, "RIGHT" }, { 8, 0, 150, 20 }

@Paliak Paliak added enhancement New feature, calculation, or mod technical Hidden from release notes labels Nov 27, 2023
Copy link
Member

@Wires77 Wires77 left a comment

Choose a reason for hiding this comment

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

I wasn't able to find any broken controls, so this looks good!

@Wires77 Wires77 merged commit 356c29c into PathOfBuildingCommunity:dev Sep 8, 2024
1 of 2 checks passed
@Regisle Regisle deleted the PackControlRects branch September 13, 2024 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, calculation, or mod technical Hidden from release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants