From cde63469dc207ccd7b6ed12f37d0eb8b31dc0ea9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 22 Jun 2021 09:38:28 +1000 Subject: [PATCH] hide revert button when not active --- ts/deckoptions/RevertButton.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/deckoptions/RevertButton.svelte b/ts/deckoptions/RevertButton.svelte index 4ac271012..0291d6d78 100644 --- a/ts/deckoptions/RevertButton.svelte +++ b/ts/deckoptions/RevertButton.svelte @@ -32,7 +32,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html let modified: boolean; $: modified = !isEqual(value, defaultValue); - $: className = !modified ? "opacity-25" : ""; + $: className = !modified ? "opacity-0" : ""; const isTouchDevice = getContext(touchDeviceKey);