Skip to content

Commit 4d8076c

Browse files
author
Jake Schroeder
committed
fix: color picker watch with immediate option
1 parent 0cbc1ea commit 4d8076c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/graph/selectionToolbox/ColorPickerButton.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ watch(
147147
showColorPicker.value = false
148148
selectedColorOption.value = null
149149
currentColorOption.value = getItemsColorOption(newSelectedItems)
150-
}
150+
},
151+
{ immediate: true }
151152
)
152153
</script>
153154

0 commit comments

Comments
 (0)