mirror of
https://github.com/sojamo/controlp5
synced 2024-11-16 19:27:56 +01:00
compiles with current processing
Line 846, now 847 `_myApplet.setBounds( 0 , 0 , _myApplet.width , _myApplet.height );` would stop the class from compiling because `PApplet.setBounds(int, int, int, int)` is not a function in `PApplete.java`.
This commit is contained in:
parent
1f7cb64986
commit
e2f6621644
@ -843,7 +843,8 @@ public final class ControlWindow {
|
||||
_myApplet.frame.removeNotify( );
|
||||
_myApplet.frame.setUndecorated( isUndecorated );
|
||||
_myApplet.setSize( _myApplet.width , _myApplet.height );
|
||||
_myApplet.setBounds( 0 , 0 , _myApplet.width , _myApplet.height );
|
||||
// Wont compile as `PApplet.setBounds(int, int, int, int)` is not a function (Im not sure if setBounds does anything important)
|
||||
//_myApplet.setBounds( 0 , 0 , _myApplet.width , _myApplet.height );
|
||||
_myApplet.frame.setSize( _myApplet.width , _myApplet.height );
|
||||
_myApplet.frame.addNotify( );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user