diff --git a/src/trx-client/src/remote_client.rs b/src/trx-client/src/remote_client.rs index 0ad0a99..7788bac 100644 --- a/src/trx-client/src/remote_client.rs +++ b/src/trx-client/src/remote_client.rs @@ -40,7 +40,7 @@ impl RemoteEndpoint { } } -const SPECTRUM_POLL_INTERVAL: Duration = Duration::from_millis(200); +const SPECTRUM_POLL_INTERVAL: Duration = Duration::from_millis(100); pub struct RemoteClientConfig { pub addr: String, diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html index 01e426d..aaccb4c 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html @@ -34,7 +34,6 @@
trx-rs
Rig: --
-
Owner: --
diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css index 5299976..5714373 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css @@ -27,7 +27,7 @@ --wavelength-fg: #8da3be; --spectrum-bg: #0a0f18; --jog-wheel-size: 83.2px; - --header-waterfall-overlap: 3.2rem; + --header-waterfall-overlap: 3.8rem; } [data-theme="light"] { @@ -667,7 +667,7 @@ button:focus-visible, input:focus-visible, select:focus-visible { .card { padding: 0.7rem 0.7rem 1rem; } button { min-height: 2.8rem; font-size: 0.95rem; } input.status-input, select.status-input { font-size: 1.1rem; } - :root { --header-waterfall-overlap: 2.2rem; } + :root { --header-waterfall-overlap: 2.6rem; } .controls-tray { width: max(100%, 52rem); padding-left: 0.85rem; padding-right: 0.85rem; } .freq-inline { gap: 0.5rem; } .freq-inline { flex-wrap: wrap; } diff --git a/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs b/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs index 98e525e..a039a28 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs +++ b/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs @@ -301,7 +301,7 @@ pub async fn spectrum( let context_updates = context.get_ref().clone(); let mut last_revision: Option = None; let updates = - IntervalStream::new(time::interval(Duration::from_millis(200))).filter_map(move |_| { + IntervalStream::new(time::interval(Duration::from_millis(100))).filter_map(move |_| { let context = context_updates.clone(); std::future::ready({ let next = context