Change the kExecutionTime value to 15. In theory, this should give 60FPS rendering.
This commit is contained in:
parent
c8d7d88d0a
commit
25cfebfd71
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user