Ladybird: Add tooltip to reset zoom level button

This commit is contained in:
MacDue 2023-03-31 21:33:42 +01:00 committed by Linus Groh
parent 9e21b3f216
commit 7f3844c048
Notes: sideshowbarker 2024-07-17 05:01:20 +09:00

View file

@ -64,6 +64,7 @@ Tab::Tab(BrowserWindow* window, StringView webdriver_content_ipc_path)
m_toolbar->addAction(m_reload_action);
m_toolbar->addAction(m_home_action);
m_toolbar->addWidget(m_location_edit);
m_reset_zoom_button->setToolTip("Reset zoom level");
m_reset_zoom_button_action = m_toolbar->addWidget(m_reset_zoom_button);
m_reset_zoom_button_action->setVisible(false);