1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

HackStudio: Add fullscreen shortcut

This commit is contained in:
Junior Rantila 2022-08-06 01:29:58 +02:00 committed by Sam Atkins
parent d40b0439d8
commit 9c42a75381

View file

@ -1515,6 +1515,12 @@ void HackStudioWidget::create_view_menu(GUI::Window& window)
current_editor_wrapper().search_action();
});
view_menu.add_action(search_action);
view_menu.add_separator();
view_menu.add_action(GUI::CommonActions::make_fullscreen_action([&](auto&) {
window.set_fullscreen(!window.is_fullscreen());
}));
}
void HackStudioWidget::create_help_menu(GUI::Window& window)