From 6883bfec69db81cab9d1335115e7e09e8fb99f23 Mon Sep 17 00:00:00 2001 From: Matthias Metelka <62722460+kleinerpirat@users.noreply.github.com> Date: Tue, 6 Sep 2022 23:00:56 +0200 Subject: [PATCH] Fix code style issues --- ts/components/Collapsible.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/components/Collapsible.svelte b/ts/components/Collapsible.svelte index c4e5b4164..8af667baf 100644 --- a/ts/components/Collapsible.svelte +++ b/ts/components/Collapsible.svelte @@ -32,7 +32,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html await new Promise(requestAnimationFrame); await new Promise(requestAnimationFrame); expandHeight = collapsibleElement.clientHeight; - + animating = true; size.set(1, { duration: duration || dynamicDuration(expandHeight, 25), @@ -52,7 +52,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html $: animating = $size > 0 && !(collapsed || expanded); $: height = $size * expandHeight; - $: measuring = !(collapsed || animating || expanded) + $: measuring = !(collapsed || animating || expanded);