Skip to content

Commit

Permalink
feat: highlight currently inspected instance
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjadev64 committed Feb 18, 2025
1 parent 042af55 commit aa03815
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Key.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@

<canvas
bind:this={canvas}
class="relative -m-2 border-2 dark:border-neutral-700 rounded-md outline-none"
class="relative -m-2 border-2 dark:border-neutral-700 rounded-md outline outline-0 outline-offset-2 outline-blue-500"
class:!outline-2={slot && $inspectedInstance == slot.context}
class:-m-[2.06rem]={size == 192}
width={size}
height={size}
Expand Down

0 comments on commit aa03815

Please sign in to comment.