Skip to content

Commit

Permalink
Fix .on register event. Need to be a function
Browse files Browse the repository at this point in the history
  • Loading branch information
volterra79 committed Feb 26, 2024
1 parent f0f2f17 commit a686010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Relation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ export default {
}

// resize after popping child relation
GUI.on('pop-content', setTimeout(() => this.resize()));
GUI.on('pop-content', () => setTimeout(() => this.resize()));
},

/**
Expand Down

0 comments on commit a686010

Please sign in to comment.