summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 87ca2614..0a63a941 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -138,8 +138,8 @@ static const iMenuItem viewMenuItems[] = {
138 { "Show Page Outline", '4', KMOD_PRIMARY, "sidebar.mode arg:3 toggle:1" }, 138 { "Show Page Outline", '4', KMOD_PRIMARY, "sidebar.mode arg:3 toggle:1" },
139 { "Toggle Sidebar", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" }, 139 { "Toggle Sidebar", SDLK_l, KMOD_PRIMARY | KMOD_SHIFT, "sidebar.toggle" },
140 { "---", 0, 0, NULL }, 140 { "---", 0, 0, NULL },
141 { "Go Back", navigateBack_KeyShortcut, "navigate.back" }, 141 { "Go Back", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" },
142 { "Go Forward", navigateForward_KeyShortcut, "navigate.forward" }, 142 { "Go Forward", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" },
143 { "Reload Page", reload_KeyShortcut, "navigate.reload" }, 143 { "Reload Page", reload_KeyShortcut, "navigate.reload" },
144 { "---", 0, 0, NULL }, 144 { "---", 0, 0, NULL },
145 { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, 145 { "Zoom In", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" },
@@ -546,9 +546,6 @@ void init_Window(iWindow *d, iRect rect) {
546 d->presentTime = 0.0; 546 d->presentTime = 0.0;
547 setId_Widget(d->root, "root"); 547 setId_Widget(d->root, "root");
548 init_Text(d->render); 548 init_Text(d->render);
549#if defined (iPlatformApple) && !defined (iPlatformIOS)
550 setupApplication_MacOS();
551#endif
552 setupUserInterface_Window(d); 549 setupUserInterface_Window(d);
553 updateRootSize_Window_(d); 550 updateRootSize_Window_(d);
554} 551}