Skip to content

Conversation

@ghzdude
Copy link
Contributor

@ghzdude ghzdude commented Nov 6, 2024

adds a few methods to Grid to make configuring the matrix easier
adds some nullability checks and guards
removes setting the min element margin in constructor
rename margin(int all) -> minElementMargin(int all)

@brachy84 brachy84 merged commit d296c8d into CleanroomMC:master Nov 9, 2024
YannickMG pushed a commit to GTNewHorizons/ModularUI2 that referenced this pull request Dec 27, 2024
* add method overload + small improvements

* add new method
other misc changes

* simplify code

* add nullability guards and checks
update mapToMatrix and correct parameter name

* don't set element margin to 2
rename margin method

* simplify even more

* one more nullability guard

(cherry picked from commit d296c8d)
serenibyss pushed a commit to GTNewHorizons/ModularUI2 that referenced this pull request Dec 27, 2024
* add method overload + small improvements

* add new method
other misc changes

* simplify code

* add nullability guards and checks
update mapToMatrix and correct parameter name

* don't set element margin to 2
rename margin method

* simplify even more

* one more nullability guard

(cherry picked from commit d296c8d)
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