aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-08-04 16:35:58 +0900
committersyeyoung <cyong06@naver.com>2021-08-04 16:35:58 +0900
commit468463272411cec70554aed1c96a60beea38f14a (patch)
tree90fbb3f381e68dd1a4bff47c62d9b6fc36ac85f5 /src/main/java
parent708c5d2f75060c17ffc7864c53b6ed7f15df3d7d (diff)
downloadSkyblock-Dungeons-Guide-468463272411cec70554aed1c96a60beea38f14a.tar.gz
Skyblock-Dungeons-Guide-468463272411cec70554aed1c96a60beea38f14a.tar.bz2
Skyblock-Dungeons-Guide-468463272411cec70554aed1c96a60beea38f14a.zip
- Autofocus search bar
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/nyu/RootConfigPanel.java2
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/gui/MPanel.java1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/nyu/RootConfigPanel.java b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/nyu/RootConfigPanel.java
index 62f16f2d..608976fe 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/nyu/RootConfigPanel.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/nyu/RootConfigPanel.java
@@ -141,6 +141,8 @@ public class RootConfigPanel extends MPanelScaledGUI {
setCurrentPageAndPushHistory("ROOT");
rePlaceElements();
+
+ search.setFocused(true);
}
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/gui/MPanel.java b/src/main/java/kr/syeyoung/dungeonsguide/gui/MPanel.java
index 99010090..86333d36 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/gui/MPanel.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/gui/MPanel.java
@@ -44,6 +44,7 @@ public class MPanel {
protected Rectangle lastAbsClip = new Rectangle(0,0,0,0);
@Getter(AccessLevel.PUBLIC)
+ @Setter
protected boolean isFocused;
@Getter