diff --git a/web/src/lib/components/Preview.svelte b/web/src/lib/components/Preview.svelte index 8df0b73..c1d6b15 100644 --- a/web/src/lib/components/Preview.svelte +++ b/web/src/lib/components/Preview.svelte @@ -1,6 +1,7 @@ @@ -42,8 +69,20 @@ title="{image.width} × {image.height}" class:pipette={pipetteActive} onclick={pickColor} + onmousemove={trackHover} + onmouseleave={clearHover} >

{image.width} × {image.height} px

+ {#if pipetteActive && hover && image} + + {/if} {/if}