diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-17 21:28:07 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-17 21:28:07 +0300 |
commit | c94469c3b5e46fa15939de271e6a4e1cc812dea3 (patch) | |
tree | 8ccb30ff4a48726dc945296a95d1d5007cf331dd /src/ui/window.c | |
parent | ab10c23969bb7d7be73613d50ae2a3755da39fb0 (diff) |
SidebarWidget: Animate show/hide
Also addressed clipping issues when using multiple roots.
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index ff565b84..abdc363d 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -1007,11 +1007,11 @@ void draw_Window(iWindow *d) { | |||
1007 | init_Paint(&p); | 1007 | init_Paint(&p); |
1008 | /* Clear the window. The clear color is visible as a border around the window | 1008 | /* Clear the window. The clear color is visible as a border around the window |
1009 | when the custom frame is being used. */ { | 1009 | when the custom frame is being used. */ { |
1010 | setCurrent_Root(d->roots[0]); | ||
1010 | #if defined (iPlatformAppleMobile) | 1011 | #if defined (iPlatformAppleMobile) |
1011 | iColor back = get_Color(uiBackground_ColorId); | 1012 | iColor back = get_Color(uiBackground_ColorId); |
1012 | if (deviceType_App() == phone_AppDeviceType) { | 1013 | if (deviceType_App() == phone_AppDeviceType) { |
1013 | /* Page background extends to safe area, so fill it completely. */ | 1014 | /* Page background extends to safe area, so fill it completely. */ |
1014 | setCurrent_Root(d->roots[0]); | ||
1015 | back = get_Color(tmBackground_ColorId); | 1015 | back = get_Color(tmBackground_ColorId); |
1016 | } | 1016 | } |
1017 | #else | 1017 | #else |