diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-15 22:38:13 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-15 22:38:13 +0300 |
commit | afce90c9f6b52db97de29824d1afd1a0742550df (patch) | |
tree | c22eeafe577995215ef6edf448a35f8d8328cb8d /src/ui/root.c | |
parent | d268545d12db5b02ee5975acb311d5b3cd875d6a (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.c | 1 |
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; |