From 1422bf643c7f609a22f3dc7fb0ee9f60c7c880c7 Mon Sep 17 00:00:00 2001 From: Damien Seguin Date: Mon, 25 Mar 2019 11:35:37 +0000 Subject: [PATCH] Reset debugCommands list on frame --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 4c80d9f..a7b6ba8 100644 --- a/index.js +++ b/index.js @@ -947,6 +947,7 @@ function createContext(opts) { frame: function(cb) { const self = this raf(function frame() { + self.debugCommands = [] if (self.updatePixelRatio) { self.pixelRatio = self.updatePixelRatio // we need to reaply width/height and update styles