From 9c22bd4d7f23256f97175cdeb1412505f56d2e73 Mon Sep 17 00:00:00 2001 From: nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> Date: Sat, 30 Apr 2022 10:51:45 +0100 Subject: fix scissoring (not sus) --- src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java') 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 -- cgit