From ba793c28fa627ae2ea437b261be56b4cf19fcd8f Mon Sep 17 00:00:00 2001 From: syeyoung Date: Wed, 6 Jan 2021 11:31:07 +0900 Subject: fix xray inter mod comm --- src/main/java/kr/syeyoung/dungeonsguide/roomedit/MPanel.java | 1 + .../kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java | 1 + 2 files changed, 2 insertions(+) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomedit') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/MPanel.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/MPanel.java index 2c1e1889..95410b99 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/MPanel.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/MPanel.java @@ -78,6 +78,7 @@ public class MPanel { int relMousey = relMousey0 - getBounds().y; GL11.glTranslated(getBounds().x, getBounds().y, 0); + GL11.glColor4f(1,1,1,0); Rectangle absBound = getBounds().getBounds(); absBound.setLocation(absBound.x + parentPoint.x, absBound.y + parentPoint.y); diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java index bc6a0e0f..e4c7d528 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java @@ -173,6 +173,7 @@ public class ValueEditColor extends MPanel implements ValueEdit { GL11.glEnable(GL11.GL_TEXTURE_2D); GL11.glDisable(GL11.GL_BLEND); + GL11.glColor4f(1,1,1,1); GlStateManager.color(1,1,1,1); } private int selected = 0; -- cgit