diff --git a/ts/editor/ImageHandle.svelte b/ts/editor/ImageHandle.svelte index 40d2f6d72..f96250a54 100644 --- a/ts/editor/ImageHandle.svelte +++ b/ts/editor/ImageHandle.svelte @@ -2,33 +2,25 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> - -{#if image && imageRule} -
+
+ {#if activeImage}
+ {#if showFloat} -
- +
+
{/if} -
- -
+ {#if showDimensions}
{actualWidth}×{actualHeight} @@ -186,22 +207,47 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html >{/if}
{/if} + {/if} + + {#if sheet} +
+ +
+ {/if} + + {#if activeImage}
@@ -210,12 +256,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html class:active class="image-handle-control image-handle-control-se" on:mousedown|preventDefault - on:pointerdown={setPointerCapture} + on:pointerdown={setPointerCapture(false, false)} on:pointerup={startObserving} on:pointermove={resize} /> -
-{/if} + {/if} +