aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/roomedit
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-01-06 11:31:07 +0900
committersyeyoung <cyong06@naver.com>2021-01-06 11:31:07 +0900
commitba793c28fa627ae2ea437b261be56b4cf19fcd8f (patch)
tree466c6d541f125f462c2c5415158f29c662b5828d /src/main/java/kr/syeyoung/dungeonsguide/roomedit
parent04d414547e4d932f4db9a74dbc4aea8d75b96960 (diff)
downloadSkyblock-Dungeons-Guide-ba793c28fa627ae2ea437b261be56b4cf19fcd8f.tar.gz
Skyblock-Dungeons-Guide-ba793c28fa627ae2ea437b261be56b4cf19fcd8f.tar.bz2
Skyblock-Dungeons-Guide-ba793c28fa627ae2ea437b261be56b4cf19fcd8f.zip
fix xray inter mod comm
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomedit')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomedit/MPanel.java1
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java1
2 files changed, 2 insertions, 0 deletions
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<Color> {
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;