Skip to content

Commit

Permalink
Merge pull request #4 from mcslee/dev
Browse files Browse the repository at this point in the history
Merge 0.4.0 release
  • Loading branch information
mcslee authored Dec 1, 2021
2 parents c20697b + 2c6ba0e commit e85838e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src/main/resources"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry combineaccessrules="false" kind="src" path="/LX"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
Expand Down
1 change: 1 addition & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding/<project>=UTF-8
5 changes: 5 additions & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
0.4.0
December 1, 2021
- Update to Processing 4 / P4LX
- Add mappable recall parameter for LXPattern triggering

0.2.3
November 30, 2021
- Add support for custom model view layer, per-channel view settings
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.heronarts</groupId>
<artifactId>glx</artifactId>
<version>0.2.3</version>
<version>0.4.0</version>
<packaging>jar</packaging>

<properties>
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/heronarts/glx/ui/component/UIButton.java
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,10 @@ public BooleanParameter getTriggerTarget() {
return this.triggerable ? getTriggerParameter() : null;
}

private BooleanParameter getTriggerParameter() {
protected BooleanParameter getTriggerParameter() {
if (this.controlTarget instanceof BooleanParameter) {
return (BooleanParameter) this.controlTarget;
}
if (this.booleanParameter != null && this.booleanParameter.isMappable() && this.booleanParameter.getParent() != null) {
return this.booleanParameter;
}
Expand Down

0 comments on commit e85838e

Please sign in to comment.