From 566fb6c498d571281c94029f8dfbac5e5077600c Mon Sep 17 00:00:00 2001 From: isXander Date: Wed, 12 Jun 2024 17:15:09 +0100 Subject: Changelog and minor changes --- src/main/java/dev/isxander/yacl3/gui/AbstractWidget.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/dev/isxander/yacl3/gui/AbstractWidget.java') diff --git a/src/main/java/dev/isxander/yacl3/gui/AbstractWidget.java b/src/main/java/dev/isxander/yacl3/gui/AbstractWidget.java index 8def3b3..48f2cc3 100644 --- a/src/main/java/dev/isxander/yacl3/gui/AbstractWidget.java +++ b/src/main/java/dev/isxander/yacl3/gui/AbstractWidget.java @@ -95,17 +95,17 @@ public abstract class AbstractWidget implements GuiEventListener, Renderable, Na VertexConsumer vertex = graphics.bufferSource().getBuffer(RenderType.gui()); Matrix4f matrix4f = graphics.pose().last().pose(); - /*? if >1.20.6 {*//* + /*? if >1.20.6 {*/ vertex.addVertex(matrix4f, x1, y1, 0).setColor(startColor); vertex.addVertex(matrix4f, x1, y2, 0).setColor(startColor); vertex.addVertex(matrix4f, x2, y2, 0).setColor(endColor); vertex.addVertex(matrix4f, x2, y1, 0).setColor(endColor); - *//*?} else {*/ - vertex.vertex(matrix4f, x1, y1, 0).color(startColor).endVertex(); + /*?} else {*/ + /*vertex.vertex(matrix4f, x1, y1, 0).color(startColor).endVertex(); vertex.vertex(matrix4f, x1, y2, 0).color(startColor).endVertex(); vertex.vertex(matrix4f, x2, y2, 0).color(endColor).endVertex(); vertex.vertex(matrix4f, x2, y1, 0).color(endColor).endVertex(); - /*?}*/ + *//*?}*/ } -- cgit