Skip to content

Commit

Permalink
fixed scheme change event when changing item "locked" field
Browse files Browse the repository at this point in the history
  • Loading branch information
ishubin committed Dec 9, 2023
1 parent 2ec6683 commit 23d18ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui/components/editor/properties/PositionPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default {

data() {
const sx = this.editBox.items[0].area.sx;
const sy = this.editBox.items[0].area.sy;
const sy = this.editBox.items[0].area.sy;

return {
x: this.editBox.area.x,
Expand All @@ -103,6 +103,8 @@ export default {
forEach(this.editBox.items, item => {
item.locked = this.editBox.locked;
});

EditorEventBus.schemeChangeCommitted.$emit(this.editorId);
},

onEditBoxChange() {
Expand Down

0 comments on commit 23d18ba

Please sign in to comment.