From fc80793983d37ff85e4dec0daa15ae2b5869c91c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 13 Oct 2023 13:04:29 +1000 Subject: [PATCH] Fix reversed float left/right icons Closes #2713 --- ts/editor/image-overlay/FloatButtons.svelte | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/ts/editor/image-overlay/FloatButtons.svelte b/ts/editor/image-overlay/FloatButtons.svelte index dbda123d7..3649d4b9b 100644 --- a/ts/editor/image-overlay/FloatButtons.svelte +++ b/ts/editor/image-overlay/FloatButtons.svelte @@ -3,12 +3,9 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> @@ -31,20 +22,18 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html { image.style.float = "left"; setTimeout(() => dispatch("update")); }} --border-left-radius="5px" > - {@html inlineStartIcon} + {@html floatLeftIcon} { // We shortly set to none, because simply unsetting float will not // trigger floatStyle being reset @@ -59,13 +48,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html { image.style.float = "right"; setTimeout(() => dispatch("update")); }} --border-right-radius="5px" > - {@html inlineEndIcon} + {@html floatRightIcon}