bugfixes
This commit is contained in:
@@ -262,9 +262,9 @@ export class Shape {
|
||||
|
||||
onProps(props) { // the display properties of an existing shape were changed
|
||||
console.log('shape onProps', this.model, props)
|
||||
if (props.textcolor && props.textcolor !== this.model.color)
|
||||
if (props.textcolor && props.textcolor !== this.tvProps.textcolor)
|
||||
this.updateModel({color:props.textcolor})
|
||||
else if (props.linecolor && props.linecolor !== this.model.color)
|
||||
else if (props.linecolor && props.linecolor !== this.tvProps.linecolor)
|
||||
this.updateModel({color:props.linecolor})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user