widgets: pads strokeWidth

This commit is contained in:
bordun 2020-09-06 16:46:42 +02:00
parent 580bd765f6
commit ef81feba8d
2 changed files with 2 additions and 1 deletions

View file

@ -145,13 +145,13 @@ class Canvas extends Widget {
case 'alphaFillOff':
case 'alphaFillOn':
case 'colorBg':
case 'strokeWidth':
setTimeout(()=>{
this.cacheCanvasStyle()
this.batchDraw()
},10)
return
case 'css':
case 'strokeWidth':
case 'padding':
resize.check(this.canvas, true)
setTimeout(()=>{

View file

@ -287,6 +287,7 @@ module.exports = class MultiXy extends Pad {
case 'alphaFillOff':
case 'alphaFillOn':
case 'padding':
case 'strokeWidth':
for (var w of this.pads) {
w.onPropChanged(propName)
}