diff --git a/resources/library.properties b/resources/library.properties index d1de5b4..0166e0a 100644 --- a/resources/library.properties +++ b/resources/library.properties @@ -38,7 +38,7 @@ paragraph = Includes interface elements such as slider, button, knob, toggle, te # is used to compare different versions of the same library, and # check if an update is available. You should think of it as a # counter, counting the total number of releases you've had. -version = 83 # This must be parsable as an int +version = 84 # This must be parsable as an int # The version as the user will see it. If blank, the version attribute will be used here -prettyVersion = 2.2.4 # This is treated as a String +prettyVersion = 2.2.5 # This is treated as a String diff --git a/src/controlP5/ControlP5Legacy.java b/src/controlP5/ControlP5Legacy.java index 2657469..e91d186 100644 --- a/src/controlP5/ControlP5Legacy.java +++ b/src/controlP5/ControlP5Legacy.java @@ -294,7 +294,7 @@ public class ControlP5Legacy { public ScrollableList addScrollableList( final Object theObject , String theIndex , final String theName , final int theX , final int theY , final int theW , final int theH ) { ScrollableList myController = new ScrollableList( base.cp5 , ( Tab ) base.cp5.controlWindow.getTabs( ).get( 1 ) , theName , theX , theY , theW , theH ); base.cp5.register( theObject , theIndex , myController ); - myController.registerProperty( "items" ).registerProperty( "value" ); + myController.registerProperty( "value" ); return myController; }