From daf554ee8302a53b17dc22c4f59a81922353b544 Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Thu, 28 Dec 2023 17:32:59 -0500 Subject: [PATCH] zoom to 150% in desktop and disable clipify until analysis called --- src/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/src/main.rs b/src/src/main.rs index f75cb0f..a35fc95 100644 --- a/src/src/main.rs +++ b/src/src/main.rs @@ -24,6 +24,7 @@ fn App(cx: Scope) -> Element { body {{ max-width: 600pt; margin: auto; + zoom: 150%; }} label {{ display: block; @@ -103,7 +104,7 @@ fn App(cx: Scope) -> Element { status.set(f); } }, - input { r#type: "submit", value: "clipify selected spans", disabled: file.get().len() == 0 || status.get().starts_with("[WORKING]") } + input { r#type: "submit", value: "clipify selected spans", disabled: file.get().len() == 0 || status.get().starts_with("[WORKING]") || analysis.get().result.len() == 0 } hr {} analysis.get().result.iter().map(|a| { rsx! {