summaryrefslogtreecommitdiff
path: root/src/ui/root.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-15 22:38:13 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-15 22:38:13 +0300
commitafce90c9f6b52db97de29824d1afd1a0742550df (patch)
treec22eeafe577995215ef6edf448a35f8d8328cb8d /src/ui/root.c
parentd268545d12db5b02ee5975acb311d5b3cd875d6a (diff)
Mobile: Various improvements and fixes
- fill the safe area with theme background - don't set button hover states if dragging/scrolling - edge-draggable widgets must be flagged as such - Preferences top panel offset matches sibling panels' offset - allow toolbar to unhide when document is not scrollable
Diffstat (limited to 'src/ui/root.c')
-rw-r--r--src/ui/root.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/root.c b/src/ui/root.c
index 233de51c..913f82e9 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -350,6 +350,7 @@ static iBool handleRootCommands_(iWidget *root, const char *cmd) {
350 } 350 }
351 else if (equal_Command(cmd, "input.resized")) { 351 else if (equal_Command(cmd, "input.resized")) {
352 /* No parent handled this, so do a full rearrangement. */ 352 /* No parent handled this, so do a full rearrangement. */
353 /* TODO: Defer this and do a single rearrangement later. */
353 arrange_Widget(root); 354 arrange_Widget(root);
354 postRefresh_App(); 355 postRefresh_App();
355 return iTrue; 356 return iTrue;