mirror of
https://github.com/sojamo/controlp5
synced 2024-11-29 08:54:58 +01:00
adjustments to fix issue #12
This commit is contained in:
parent
12235cb462
commit
a4a4824bfe
@ -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
|
# is used to compare different versions of the same library, and
|
||||||
# check if an update is available. You should think of it as a
|
# check if an update is available. You should think of it as a
|
||||||
# counter, counting the total number of releases you've had.
|
# 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
|
# 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
|
||||||
|
@ -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 ) {
|
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 );
|
ScrollableList myController = new ScrollableList( base.cp5 , ( Tab ) base.cp5.controlWindow.getTabs( ).get( 1 ) , theName , theX , theY , theW , theH );
|
||||||
base.cp5.register( theObject , theIndex , myController );
|
base.cp5.register( theObject , theIndex , myController );
|
||||||
myController.registerProperty( "items" ).registerProperty( "value" );
|
myController.registerProperty( "value" );
|
||||||
return myController;
|
return myController;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user