summaryrefslogtreecommitdiff
path: root/src/ui/root.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 09:21:16 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 09:21:16 +0300
commitd74e1dc35d108d1f17342ff203838b83d135537e (patch)
treeea0e01f68de20f9f993e873db861ca3816ec5686 /src/ui/root.c
parent9a7438c82f6dfc0605f28207648c4cdde7d98f1f (diff)
SidebarWidget: Button font glitches
Diffstat (limited to 'src/ui/root.c')
-rw-r--r--src/ui/root.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/root.c b/src/ui/root.c
index 89f71697..71f53af4 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -400,8 +400,6 @@ static iBool handleRootCommands_(iWidget *root, const char *cmd) {
400 iSidebarWidget *sidebar = findChild_Widget(root, "sidebar"); 400 iSidebarWidget *sidebar = findChild_Widget(root, "sidebar");
401 iSidebarWidget *sidebar2 = findChild_Widget(root, "sidebar2"); 401 iSidebarWidget *sidebar2 = findChild_Widget(root, "sidebar2");
402 removeChild_Widget(parent_Widget(sidebar), sidebar); 402 removeChild_Widget(parent_Widget(sidebar), sidebar);
403 setButtonFont_SidebarWidget(sidebar, isLandscape_App() ? uiLabel_FontId : defaultBig_FontId);
404 setButtonFont_SidebarWidget(sidebar2, isLandscape_App() ? uiLabel_FontId : defaultBig_FontId);
405 // setBackgroundColor_Widget(findChild_Widget(as_Widget(sidebar), "buttons"), 403 // setBackgroundColor_Widget(findChild_Widget(as_Widget(sidebar), "buttons"),
406 // isPortrait_App() ? uiBackgroundUnfocusedSelection_ColorId 404 // isPortrait_App() ? uiBackgroundUnfocusedSelection_ColorId
407 // : uiBackgroundSidebar_ColorId); 405 // : uiBackgroundSidebar_ColorId);