Add an icon size setting for the home grid and the app drawer
Slider (70-160%, step 5) with Small/Medium/Large presets and a live preview in the home menu. Icon, label and row height scale together; the home and drawer column counts reflow; the size is saved in localStorage; a corrupt saved value is logged and shown, not silently replaced. 100% is the original layout. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3070db4fb4
commit
23317b949a
22 files changed
+901
-51
No files matched your search
@@ -133,6 +133,10 @@ extern "js" fn now_ms() -> Double =
|
||||
extern "js" fn storage_get(k : String) -> String =
|
||||
#|(k) => { try { return localStorage.getItem(k) ?? "" } catch { return "" } }
|
||||
|
||||
///|
|
||||
extern "js" fn log_error(line : String) -> Unit =
|
||||
#|(line) => console.error(line)
|
||||
|
||||
///|
|
||||
extern "js" fn storage_has(k : String) -> Bool =
|
||||
#|(k) => { try { return localStorage.getItem(k) !== null } catch { return false } }
|
||||
|
||||
Reference in new issue
Block a user