diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-04 07:40:56 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-04 07:40:56 +0200 |
commit | 723fcbf263bd2f5ff6c259a47091ebf685b50723 (patch) | |
tree | 5ed11977ee09fa542ed62a12c73117a27140d04e /src/ui/widget.c | |
parent | ad86fbe2cffa2bea07d004782e711932c5c91a79 (diff) |
Mobile: Sidebar is now a vertically sliding panel
Switched the phone sidebar to use the iOS half/full-height sliding sheet design. This is better for finger reachability and for retaining access to the current page.
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r-- | src/ui/widget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c index 210fe899..0d20cca9 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c | |||
@@ -124,6 +124,7 @@ void init_Widget(iWidget *d) { | |||
124 | init_String(&d->id); | 124 | init_String(&d->id); |
125 | d->root = get_Root(); /* never changes after this */ | 125 | d->root = get_Root(); /* never changes after this */ |
126 | d->flags = 0; | 126 | d->flags = 0; |
127 | d->flags2 = 0; | ||
127 | d->rect = zero_Rect(); | 128 | d->rect = zero_Rect(); |
128 | d->minSize = zero_I2(); | 129 | d->minSize = zero_I2(); |
129 | d->sizeRef = NULL; | 130 | d->sizeRef = NULL; |