mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:08:13 +00:00
Browser: Add tooltip to reset zoom level button
This commit is contained in:
parent
7f3844c048
commit
df577b457a
1 changed files with 1 additions and 0 deletions
|
@ -202,6 +202,7 @@ Tab::Tab(BrowserWindow& window)
|
|||
this);
|
||||
|
||||
m_reset_zoom_button = toolbar.add<GUI::Button>();
|
||||
m_reset_zoom_button->set_tooltip("Reset zoom level");
|
||||
m_reset_zoom_button->on_click = [&](auto) {
|
||||
view().reset_zoom();
|
||||
update_reset_zoom_button();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue