fixes #429 outline refresh and stock size issues

This commit is contained in:
Stewart Allen 2025-09-23 18:33:03 -04:00
commit 9138e219ea
2 changed files with 10 additions and 3 deletions

View file

@ -360,6 +360,10 @@ class Widget {
this.setOpacity(opacity ?? 1);
}
refreshVisualState() {
this.setVisualState(this.getVisualState());
}
restoreVisualState() {
if (this.cache.vizstate) {
this.setVisualState(this.cache.vizstate);
@ -613,6 +617,7 @@ class Widget {
this.roto = [];
this.center();
this.setModified();
this.refreshVisualState();
}
mirror() {