Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Textfield mouse support and corrected behaviour for delete key #143

Open
wants to merge 2 commits into
base: dev-2.2.7
Choose a base branch
from

Conversation

Viproz
Copy link

@Viproz Viproz commented Nov 7, 2018

The mouse support does not work for multiline Textfields but works correctly for one line ones.

Added click selection support for Textfields
Fixed double-click
Fixed double call to mouse release
@@ -843,7 +843,7 @@ public ControlWindow setUndecorated( boolean theFlag ) {
_myApplet.frame.removeNotify( );
_myApplet.frame.setUndecorated( isUndecorated );
_myApplet.setSize( _myApplet.width , _myApplet.height );
_myApplet.setBounds( 0 , 0 , _myApplet.width , _myApplet.height );
//_myApplet.setBounds( 0 , 0 , _myApplet.width , _myApplet.height );

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran into this too. Might be better off deleting it. For anyone unfamiliar, PApplet.setBounds is not present anymore and the project won't compile without this line commented out or deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants