adjustments to fix issue #12

This commit is contained in:
sojamo 2015-07-30 17:38:55 +08:00
parent 12235cb462
commit a4a4824bfe
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;
}