diff options
author | syeyoung <cyoung06@naver.com> | 2023-01-15 23:51:32 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-01-15 23:51:32 +0900 |
commit | 6d63af431489516c6d7df23866719f4acd866d46 (patch) | |
tree | 66888e0b8d72eba16aa7c4100e39a540ac090611 /mod/src/main | |
parent | fdf6772c758d78abd637cd80ea22bbd3b206f311 (diff) | |
download | Skyblock-Dungeons-Guide-6d63af431489516c6d7df23866719f4acd866d46.tar.gz Skyblock-Dungeons-Guide-6d63af431489516c6d7df23866719f4acd866d46.tar.bz2 Skyblock-Dungeons-Guide-6d63af431489516c6d7df23866719f4acd866d46.zip |
- overlay manager
- cutting relayout requests (on tight fits)
- GUIFeatures -> overlay manager
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main')
-rw-r--r-- | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/DomElement.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/DomElement.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/DomElement.java index b3e4b0cf..d49589e3 100644 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/DomElement.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/DomElement.java @@ -101,7 +101,7 @@ public class DomElement { // event propagation public void requestRelayout() { - if (layouter.canCutRequest()) { + if (layouter.canCutRequest() && size != null) { layouter.layout(this, new ConstraintBox( size.getWidth(), size.getWidth(), size.getHeight(), size.getHeight() )); |