From dd939beafed04cf460f8dcecdac799b558e298f9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 26 Sep 2022 10:03:02 +1000 Subject: [PATCH] Simplify asReference --- ts/editor/editor-toolbar/OptionsButton.svelte | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/ts/editor/editor-toolbar/OptionsButton.svelte b/ts/editor/editor-toolbar/OptionsButton.svelte index 83bb1b2ee..1ec6f8134 100644 --- a/ts/editor/editor-toolbar/OptionsButton.svelte +++ b/ts/editor/editor-toolbar/OptionsButton.svelte @@ -27,18 +27,16 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html placement="bottom" inline on:close={() => (showFloating = false)} - let:asReference > - - (showFloating = !showFloating)} - > - {@html cogIcon} - - + (showFloating = !showFloating)} + > + {@html cogIcon} +