1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:37:44 +00:00

Browser: Rename "take screenshot" action to "take visible screenshot"

This is to differentiate between this and an upcoming action to take a
screenshot of the entire document.
This commit is contained in:
Timothy Flynn 2022-11-04 23:58:11 -04:00 committed by Andreas Kling
parent f652c75f34
commit 59b1dfa4e5
3 changed files with 6 additions and 6 deletions

View file

@ -405,7 +405,7 @@ Tab::Tab(BrowserWindow& window)
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_screenshot_action());
m_page_context_menu->add_action(window.take_visible_screenshot_action());
view().on_context_menu_request = [&](auto& screen_position) {
m_page_context_menu->popup(screen_position);
};