Skip to content

Commit

Permalink
fix(client): close panel when using color picker (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang1030 authored May 8, 2024
1 parent 7345f1c commit bd49415
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/client/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd49415

Please sign in to comment.