mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
Ladybird+Browser: Update zoom text on menu after clicking zoom button
This commit is contained in:
parent
cc9885c0c6
commit
49df2e1e3a
6 changed files with 19 additions and 4 deletions
|
@ -207,6 +207,7 @@ Tab::Tab(BrowserWindow& window, WebView::UseJavaScriptBytecode use_javascript_by
|
|||
m_reset_zoom_button->on_click = [&](auto) {
|
||||
view().reset_zoom();
|
||||
update_reset_zoom_button();
|
||||
window.update_zoom_menu();
|
||||
};
|
||||
m_reset_zoom_button->set_button_style(Gfx::ButtonStyle::Coolbar);
|
||||
m_reset_zoom_button->set_visible(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue