aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-01 19:27:17 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-01 19:27:17 +0200
commit18ddce4242a5a68bef111f9bce43b6c3f3a45ce6 (patch)
tree201fb4a0e8e69d18472a8f973279f3e766b2a98c /src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java
parentedcd817d9d6b2493ee76a15d12f21696a99a2d34 (diff)
downloadOneConfig-18ddce4242a5a68bef111f9bce43b6c3f3a45ce6.tar.gz
OneConfig-18ddce4242a5a68bef111f9bce43b6c3f3a45ce6.tar.bz2
OneConfig-18ddce4242a5a68bef111f9bce43b6c3f3a45ce6.zip
more fixes ffs
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java b/src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java
index 0558799..7ca3e31 100644
--- a/src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java
+++ b/src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java
@@ -51,7 +51,7 @@ public class SideBar {
if (!button.isClicked()) continue;
if (button.equals(buttons.get(selected))) break;
buttons.get(selected).setColorPalette(ColorPalette.TERTIARY);
- moveAnimation = new EaseInOutQuart(300, buttons.get(selected).x, button.x, false);
+ moveAnimation = new EaseInOutQuart(300, buttons.get(selected).y, button.y, false);
selected = buttons.indexOf(button);
}
if (moveAnimation != null) {