You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From: https://groups.google.com/forum/#!topic/gwt-forplay/rHbpUHECLKw
HTML GL and Android clear the surface before painting the root layer, while
Flash and Java don't. Platforms should consistently clear the surface to rgba
(0,0,0,0) before painting the root layer.
Original issue reported on code.google.com by [email protected] on 24 Jun 2011 at 8:06
The text was updated successfully, but these errors were encountered:
I would suggest changing the playn.java.JavaCanvas method clear() body to:
gfx.setColor(new Color(currentState().fillColor));
gfx.fillRect(0, 0, width, height);
or similarly, instead of (the current implementation):
gfx.clearRect(0, 0, width, height);
as per the JavaDoc for the java.awt.Graphics clearRect(int, int, int, int)
method:
http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html#clearRec
t(int, int, int, int)
Original issue reported on code.google.com by
[email protected]
on 24 Jun 2011 at 8:06The text was updated successfully, but these errors were encountered: