aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MNavigatingPane.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-07-20 13:35:06 +0900
committersyeyoung <cyong06@naver.com>2021-07-20 14:42:12 +0900
commiteb27fcef7ac26c71941c7911ebf6aa20254a2855 (patch)
tree65a84edb26375f34bf1f43b6ec4315700032da23 /src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MNavigatingPane.java
parent0af44a60844be83fb371c2f0eaeb2feccd1f0207 (diff)
downloadSkyblock-Dungeons-Guide-eb27fcef7ac26c71941c7911ebf6aa20254a2855.tar.gz
Skyblock-Dungeons-Guide-eb27fcef7ac26c71941c7911ebf6aa20254a2855.tar.bz2
Skyblock-Dungeons-Guide-eb27fcef7ac26c71941c7911ebf6aa20254a2855.zip
Better snapping and use the new tooltips
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MNavigatingPane.java')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/gui/elements/MNavigatingPane.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MNavigatingPane.java b/src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MNavigatingPane.java
index d870daf2..4ad6bd45 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MNavigatingPane.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/gui/elements/MNavigatingPane.java
@@ -132,6 +132,7 @@ public class MNavigatingPane extends MPanel {
panel2.setBackgroundColor(background2);
pages.put(currentPage, panel2);
panel2.setBounds(new Rectangle(1,30,getBounds().width-2, getBounds().height-31));
+ panel2.setParent(this);
}
dynamic.add(pages.get(currentPage));
dynamic.add(back);