From: Mark Slee Date: Tue, 25 Feb 2014 21:03:54 +0000 (-0800) Subject: Update to LXEffect enabled function X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4749563ed0cc35bde6bdd13eecdfc6e361d5320b;p=SugarCubes.git Update to LXEffect enabled function --- diff --git a/MarkSlee.pde b/MarkSlee.pde index d4ee633..202e7da 100644 --- a/MarkSlee.pde +++ b/MarkSlee.pde @@ -1328,7 +1328,7 @@ class ColorFuckerEffect extends LXEffect { } public void apply(int[] colors) { - if (!enabled) { + if (!isEnabled()) { return; } float bMod = level.getValuef(); diff --git a/_UIImplementation.pde b/_UIImplementation.pde index ac8d6aa..3f0c630 100644 --- a/_UIImplementation.pde +++ b/_UIImplementation.pde @@ -197,7 +197,7 @@ class UIOutput extends UIWindow { } public void onMousePressed() { - output.enabled.setOn(!isSelected()); + output.enabled.setValue(!isSelected()); } } } diff --git a/code/HeronLX.jar b/code/HeronLX.jar index 82e1dd9..d57c4d4 100755 Binary files a/code/HeronLX.jar and b/code/HeronLX.jar differ