Fix widget resizing handles, edge anchoring, scroll sync, and axis limits
Launcher / test (pull_request) Successful in 1m19s
Launcher / apk (pull_request) Skipped

This commit is contained in:
Sprite committed 2026-11-23 05:29:33 +00:00
1 parent 216c80252d
commit bb978fd6de
13 files changed
+538 -76

No files matched your search

+1 -1
View File
@@ -155,7 +155,7 @@ extern "js" fn fetch_text(url : String, f : (Bool, String) -> Unit) -> Unit =
///|
/// Measure the viewport and the home grid (into `window.__m`); false without a grid.
extern "js" fn measure() -> Bool =
#|() => { const s = document.querySelector(".slots"), h = document.querySelector(".home"); if (!s || !h) return false; const r = s.getBoundingClientRect(); window.__m = [innerWidth, innerHeight, r.left, r.top, r.width, parseFloat(getComputedStyle(h).paddingBottom) || 0]; return true; }
#|() => { const s = document.querySelector(".slots"), h = document.querySelector(".home"); if (!s || !h) return false; const r = s.getBoundingClientRect(); window.__m = [innerWidth, innerHeight, r.left, r.top, r.width, parseFloat(getComputedStyle(h).paddingBottom) || 0, window.scrollY || 0]; return true; }
///|
/// Measurement i: viewport width, height, grid left, top, width, the home's bottom padding.