P5-6722 - Set frame objects as dirty each render (#6)

This commit is contained in:
Anders Gustafsson
2021-02-19 10:09:05 +01:00
committed by GitHub
parent 8c97a33735
commit 63d18dc295
6 changed files with 19 additions and 1 deletions
+1
View File
@@ -1042,6 +1042,7 @@ function FrameHandler(viewport) {
this.setVisible(true);
getFramesAsArray().forEach(function (o) {
o.dirty = true; // force objects cache to be rendered on next render http://fabricjs.com/docs/fabric.Object.html#dirty
o.set(config.frames[frameType]);
});