multixy: update pads css cache on update

This commit is contained in:
bordun 2020-03-24 12:56:45 +01:00
parent 973d908525
commit fc9b0a8a2c

View file

@ -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<this.npoints;i++) {