This commit is contained in:
Tim
2024-04-17 00:48:23 -04:00
parent a0d1772254
commit 67e742e42d
2 changed files with 2 additions and 4 deletions

View File

@@ -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})
}