From f902e91ebd9a6c4a2179cafc107edb3da5f40234 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Wed, 21 Jul 2021 03:59:58 +0200 Subject: [PATCH] Allow SW resize --- ts/editor/ImageHandle.svelte | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/ts/editor/ImageHandle.svelte b/ts/editor/ImageHandle.svelte index 3a444877f..f27acd1ff 100644 --- a/ts/editor/ImageHandle.svelte +++ b/ts/editor/ImageHandle.svelte @@ -74,18 +74,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html image!.style.height = `${height}px`; } - function floatLeft(): void { - image!.style.float = "left"; - } - - function floatRight(): void { - image!.style.float = "right"; - } - - function floatReset(): void { - image!.style.float = ""; - } - const nightMode = getContext(nightModeKey); @@ -104,7 +92,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-
+