You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kp...@apache.org on 2013/10/29 20:01:06 UTC

svn commit: r1536850 - /tomcat/trunk/webapps/examples/websocket/drawboard.xhtml

Author: kpreisser
Date: Tue Oct 29 19:01:06 2013
New Revision: 1536850

URL: http://svn.apache.org/r1536850
Log:
Follow-Up to r1536834:
Use correct order of initialization methods.

Modified:
    tomcat/trunk/webapps/examples/websocket/drawboard.xhtml

Modified: tomcat/trunk/webapps/examples/websocket/drawboard.xhtml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/websocket/drawboard.xhtml?rev=1536850&r1=1536849&r2=1536850&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/websocket/drawboard.xhtml (original)
+++ tomcat/trunk/webapps/examples/websocket/drawboard.xhtml Tue Oct 29 19:01:06 2013
@@ -451,12 +451,12 @@
                                                 canvasBackgroundCtx.drawImage(canvasServerImage,
                                                         0, 0);
 
-                                                // Refresh the display canvas.
-                                                refreshDisplayCanvas();
-
                                                 isStarted = true;
                                                 startControls();
 
+                                                // Refresh the display canvas.
+                                                refreshDisplayCanvas();
+                                                
 
                                                 // Finally, resume the event forwarder.
                                                 eventForwarder.resumeProcessing();



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org