1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:27:35 +00:00

Browser: Add reset zoom level button to toolbar

This button shows the current zoom level and when clicked resets
the zoom back to 100%. It is only displayed for zoom levels other
than 100%.
This commit is contained in:
MacDue 2023-03-28 23:10:00 +01:00 committed by Andreas Kling
parent 64da05a96d
commit b7f9b316ed
4 changed files with 30 additions and 6 deletions

View file

@ -62,7 +62,7 @@ private:
virtual void event(Core::Event&) override;
void update_zoom_menu_text();
void update_displayed_zoom_level();
enum class ScreenshotType {
Visible,