Skip to content

Commit

Permalink
fix: watch toolbar current tool for changes
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstorey committed Aug 20, 2024
1 parent 7b0cc5c commit 10107e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Toolbar/Toolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@ const toolId = computed({
provide('concreteSelectedTool', toolId);
watch(() => props.modelValue, (val) => {
selectedTool.value = val;
})
</script>

0 comments on commit 10107e6

Please sign in to comment.