From 25cfebfd7129551c706e75bd9322dbc7f4695ce0 Mon Sep 17 00:00:00 2001 From: Julian Viereck Date: Fri, 16 Mar 2012 15:08:50 +0100 Subject: [PATCH] Change the kExecutionTime value to 15. In theory, this should give 60FPS rendering. --- src/canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/canvas.js b/src/canvas.js index 54ab5b4d0..caaeeab60 100644 --- a/src/canvas.js +++ b/src/canvas.js @@ -190,7 +190,7 @@ function addContextCurrentTransform(ctx) { var CanvasGraphics = (function CanvasGraphicsClosure() { // Defines the time the executeIRQueue is going to be executing // before it stops and shedules a continue of execution. - var kExecutionTime = 50; + var kExecutionTime = 15; function CanvasGraphics(canvasCtx, objs, textLayer) { this.ctx = canvasCtx;