mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
QuickShow: Hide toolbar container in fullscreen mode
If we just hide the toolbar itself, its container is still visible and taking up space at the top of the screen.
This commit is contained in:
parent
5c2bdbf27f
commit
d86d73f6e8
Notes:
sideshowbarker
2024-07-19 07:20:29 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/d86d73f6e85 Pull-request: https://github.com/SerenityOS/serenity/pull/1941
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ int main(int argc, char** argv)
|
|||
auto full_sceen_action = GUI::CommonActions::make_fullscreen_action(
|
||||
[&](auto&) {
|
||||
window->set_fullscreen(!window->is_fullscreen());
|
||||
main_toolbar.set_visible(!window->is_fullscreen());
|
||||
toolbar_container.set_visible(!window->is_fullscreen());
|
||||
});
|
||||
|
||||
auto zoom_in_action = GUI::Action::create("Zoom In", { Mod_None, Key_Plus }, Gfx::Bitmap::load_from_file("/res/icons/16x16/zoom-in.png"),
|
||||
|
|
Loading…
Reference in a new issue