From faea07eb03c55e09a0cc91d2bb31af0c9d8b3703 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 24 Mar 2020 12:56:45 +0100 Subject: [PATCH] multixy: update pads css cache on update --- src/client/widgets/pads/multixy.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 7a275e68..bf236db7 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -189,6 +189,16 @@ module.exports = class MultiXy extends Pad { } + cacheCanvasStyle(style) { + + super.cacheCanvasStyle(style) + for (var k in this.pads) { + this.pads[k].cacheCanvasStyle() + this.pads[k].batchDraw() + } + + } + updateHandlesPosition() { for (var i=0;i