mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
HackStudio: Add fullscreen shortcut
This commit is contained in:
committed by
Sam Atkins
parent
d40b0439d8
commit
9c42a75381
Notes:
sideshowbarker
2024-07-17 08:21:00 +09:00
Author: https://github.com/juniorrantila Commit: https://github.com/SerenityOS/serenity/commit/9c42a75381 Pull-request: https://github.com/SerenityOS/serenity/pull/14782
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user