From e6e0a169f43b20485f1bddf9993d21dd661f15d2 Mon Sep 17 00:00:00 2001 From: Juuxel Date: Tue, 27 Aug 2019 21:02:39 +0300 Subject: Revert some local changes, make slider paintBg formatting cleaner --- .../java/io/github/cottonmc/cotton/gui/widget/WButton.java | 2 +- .../java/io/github/cottonmc/cotton/gui/widget/WSlider.java | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java index 16a8d71..0f5159c 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java @@ -31,7 +31,7 @@ public class WButton extends WWidget { @Override public void paintForeground(int x, int y, int mouseX, int mouseY) { - //System.out.println("Mouse: { "+mouseX+", "+mouseY+" }"); + System.out.println("Mouse: { "+mouseX+", "+mouseY+" }"); boolean hovered = (mouseX>=x && mouseY>=y && mouseX