widgets: pads strokeWidth
This commit is contained in:
parent
580bd765f6
commit
ef81feba8d
2 changed files with 2 additions and 1 deletions
|
|
@ -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(()=>{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue