This commit is contained in:
Tim
2024-05-13 18:40:57 -04:00
parent bf39ed946c
commit bd21fe08dc
2 changed files with 11 additions and 7 deletions

View File

@@ -279,9 +279,9 @@ export class Shape {
onProps(props) { // the display properties of an existing shape were changed
if (this.debug) console.log('shape onProps', this.model, props)
if (props.textcolor && props.textcolor !== this.tvProps.textcolor)
if (props.textcolor && typeof props.textcolor !== 'object' && props.textcolor !== this.tvProps.textcolor)
this.updateModel({color:props.textcolor})
else if (props.linecolor && props.linecolor !== this.tvProps.linecolor)
else if (props.linecolor && typeof props.linecolor !== 'object' && props.linecolor !== this.tvProps.linecolor)
this.updateModel({color:props.linecolor})
}