summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/wipfel/src/app.rs9
-rw-r--r--dist/wipfel/wipfel_bg.wasmbin518287 -> 518287 bytes
2 files changed, 6 insertions, 3 deletions
diff --git a/crates/wipfel/src/app.rs b/crates/wipfel/src/app.rs
index 466ccc7..38c220e 100644
--- a/crates/wipfel/src/app.rs
+++ b/crates/wipfel/src/app.rs
@@ -1002,9 +1002,6 @@ pub fn app() -> Html {
if !fit_info.is_empty() {
<p class="fitinfo">{ (*fit_info).clone() }</p>
}
- if let Some(h) = hover.as_ref() {
- <p class="hover">{ h.clone() }</p>
- }
<div class="section">{ "Track" }</div>
<button onclick={open_track_picker}>{ "Load GPX Track…" }</button>
if !track.is_empty() {
@@ -1012,6 +1009,12 @@ pub fn app() -> Html {
value={*track_width} min={50.0} max={1000.0} step={10.0}
onchange={on_track_width} />
}
+ // last so revealing it on hover cannot shift any
+ // control above it (the bottom-pinned infofoot
+ // absorbs the height change)
+ if let Some(h) = hover.as_ref() {
+ <p class="hover">{ h.clone() }</p>
+ }
</>
}
<div class="infofoot">
diff --git a/dist/wipfel/wipfel_bg.wasm b/dist/wipfel/wipfel_bg.wasm
index e0e25c5..c3a3096 100644
--- a/dist/wipfel/wipfel_bg.wasm
+++ b/dist/wipfel/wipfel_bg.wasm
Binary files differ