skew flipping improvements

This commit is contained in:
Tim
2024-04-17 02:14:18 -04:00
parent 67e742e42d
commit bb630c510c
4 changed files with 63 additions and 53 deletions

View File

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