summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-05-16 07:53:53 -0400
committerAndreas Kling <kling@serenityos.org>2023-05-16 19:47:18 +0200
commit374284d0d8ac81aa1949c4fc5a52854a33f4898b (patch)
tree1cbf9bbcb7e14a8a669004ce8f18277576de4207
parentf3fe9b64bfa81da288f87853e60ea47337915286 (diff)
downloadserenity-374284d0d8ac81aa1949c4fc5a52854a33f4898b.zip
Browser: Move screenshot context menu actions above inspector actions
Feels a bit more natural, at least to align with muscle memory from other browsers.
-rw-r--r--Userland/Applications/Browser/Tab.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp
index 43e5e2829c..f83e24ecb6 100644
--- a/Userland/Applications/Browser/Tab.cpp
+++ b/Userland/Applications/Browser/Tab.cpp
@@ -562,12 +562,12 @@ Tab::Tab(BrowserWindow& window)
m_page_context_menu->add_action(window.copy_selection_action());
m_page_context_menu->add_action(window.select_all_action());
m_page_context_menu->add_separator();
+ m_page_context_menu->add_action(window.take_visible_screenshot_action());
+ m_page_context_menu->add_action(window.take_full_screenshot_action());
+ m_page_context_menu->add_separator();
m_page_context_menu->add_action(window.view_source_action());
m_page_context_menu->add_action(window.inspect_dom_tree_action());
m_page_context_menu->add_action(window.inspect_dom_node_action());
- m_page_context_menu->add_separator();
- m_page_context_menu->add_action(window.take_visible_screenshot_action());
- m_page_context_menu->add_action(window.take_full_screenshot_action());
view().on_context_menu_request = [&](auto screen_position) {
m_page_context_menu->popup(screen_position);
};