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:
parent
d40b0439d8
commit
9c42a75381
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue