From bd4941566f554c01e5252b12677d4f7703ee5ac9 Mon Sep 17 00:00:00 2001 From: Alex <49969959+alexzhang1030@users.noreply.github.com> Date: Wed, 8 May 2024 20:57:51 +0800 Subject: [PATCH] fix(client): close panel when using color picker (#371) --- packages/client/src/App.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client/src/App.vue b/packages/client/src/App.vue index 16a55250..6761f668 100644 --- a/packages/client/src/App.vue +++ b/packages/client/src/App.vue @@ -95,6 +95,7 @@ registerCommands(() => [ title: 'Color Picker', icon: 'i-carbon-eyedropper', action: async () => { + bridge.value.emit('toggle-panel', false) const { sRGBHex } = await eyeDropper.open() || {} if (sRGBHex) copy(sRGBHex)