widgets: strokeWidth (wip)

This commit is contained in:
bordun 2020-09-06 16:00:43 +02:00
parent bb5b7a2e42
commit d32cd607af
3 changed files with 3 additions and 0 deletions

View file

@ -6,6 +6,7 @@
- remove support for extra args (avoid path issues)
- widgets
- all: add `strokeWidth` style property
- knob: add `solid` & `line` designs
- fader: add `knobSize` property

View file

@ -145,6 +145,7 @@ class Canvas extends Widget {
case 'alphaFillOff':
case 'alphaFillOn':
case 'colorBg':
case 'strokeWidth':
setTimeout(()=>{
this.cacheCanvasStyle()
this.batchDraw()

View file

@ -818,6 +818,7 @@ class Widget extends EventEmitter {
case 'alphaStroke':
case 'alphaFillOff':
case 'alphaFillOn':
case 'strokeWidth':
case 'padding':
this.setCssVariables()
return