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-05-21 13:05:16 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-21 13:05:16 +0200
commit21192da98b63874c9699194e02339d529380c535 (patch)
tree7c6ba934e4e81c355d93a6b7b51c06b5d3a51e7b /src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java
parentba87b8b1fa4e2397a3e0ed5a18f7ea6137d42f77 (diff)
downloadOneConfig-21192da98b63874c9699194e02339d529380c535.tar.gz
OneConfig-21192da98b63874c9699194e02339d529380c535.tar.bz2
OneConfig-21192da98b63874c9699194e02339d529380c535.zip
more nulls
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 11e9c6e..78b3a3c 100644
--- a/src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java
+++ b/src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java
@@ -37,7 +37,7 @@ public class SideBar {
}
public void draw(long vg, int x, int y) {
- currentY = MathUtils.easeInOutCirc(50, currentY, targetY - currentY, 400, OneConfigGui.INSTANCE.getDeltaTime());
+ currentY = MathUtils.easeInOutCirc(50, currentY, targetY - currentY, 400);
RenderManager.drawRoundedRect(vg, x + 16, y + currentY, 192, 36, OneConfigConfig.BLUE_600, OneConfigConfig.CORNER_RADIUS);
int i = 0;
if (targetY == 0) {