aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java
diff options
context:
space:
mode:
authornextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-04-30 10:51:45 +0100
committernextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-04-30 10:51:45 +0100
commit9c22bd4d7f23256f97175cdeb1412505f56d2e73 (patch)
tree4e2b510bb9b663a93e8db8ac69d0b4df0deb248e /src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java
parent5ca991a444df237d26bceaa23468a16d5781e910 (diff)
downloadOneConfig-9c22bd4d7f23256f97175cdeb1412505f56d2e73.tar.gz
OneConfig-9c22bd4d7f23256f97175cdeb1412505f56d2e73.tar.bz2
OneConfig-9c22bd4d7f23256f97175cdeb1412505f56d2e73.zip
fix scissoring (not sus)
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java b/src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java
index 9d5dd6e..a1bb5cc 100644
--- a/src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java
+++ b/src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java
@@ -18,7 +18,6 @@ public class ModConfigPage extends Page {
@Override
public void draw(long vg, int x, int y) {
if (page.categories.size() == 0) return;
- NanoVG.nvgScissor(vg, x + 14, y, 1056, 800);
String selectedCategory = page.categories.keySet().stream().findFirst().get();
int optionX = x + 30;
int optionY = y + (page.categories.size() == 1 ? 32 : 72);
@@ -58,7 +57,6 @@ public class ModConfigPage extends Page {
}
optionY += 28;
}
- NanoVG.nvgResetScissor(vg);
}
@Override