mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix requestFocus() issue that was causing assertion failure
This commit is contained in:
@@ -1507,8 +1507,9 @@ public class PApplet extends Applet
|
||||
// screen and the component is valid. The OpenGL renderer will
|
||||
// request focus for its canvas inside beginDraw().
|
||||
// http://java.sun.com/j2se/1.4.2/docs/api/java/awt/doc-files/FocusSpec.html
|
||||
//println("requesting focus");
|
||||
requestFocus();
|
||||
// Disabling for 0185, because it causes an assertion failure on OS X
|
||||
// http://code.google.com/p/processing/issues/detail?id=258
|
||||
// requestFocus();
|
||||
}
|
||||
|
||||
// wait for update & paint to happen before drawing next frame
|
||||
@@ -7393,8 +7394,10 @@ public class PApplet extends Applet
|
||||
}
|
||||
}
|
||||
|
||||
applet.requestFocus(); // ask for keydowns
|
||||
//System.out.println("exiting main()");
|
||||
// Disabling for 0185, because it causes an assertion failure on OS X
|
||||
// http://code.google.com/p/processing/issues/detail?id=258
|
||||
// (Although this doesn't seem to be the one that was causing problems.)
|
||||
//applet.requestFocus(); // ask for keydowns
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -8,6 +8,9 @@ o svg issue with implicit path command
|
||||
o http://dev.processing.org/bugs/show_bug.cgi?id=1561
|
||||
o http://code.google.com/p/processing/issues/detail?id=257
|
||||
X appears to be faulty code
|
||||
X remove call to requestFocus() that broke the ColorSelector (and Editor)
|
||||
X and was also breaking some applets
|
||||
X http://code.google.com/p/processing/issues/detail?id=258
|
||||
|
||||
shape/svg work
|
||||
X fix for adobe illustrator-mangled svg id names with hex characters
|
||||
|
||||
Reference in New Issue
Block a user