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

PDFViewer: Hide the rendering diagnostics window by default

You can enable it in the Debug menu and we will remember your choice.
This commit is contained in:
Kyle Lanmon 2024-03-03 17:25:31 -06:00 committed by Andreas Kling
parent d6ab5c9b7d
commit a099d0e140
5 changed files with 31 additions and 4 deletions

View file

@ -62,6 +62,8 @@ public:
PageViewMode page_view_mode() const { return m_page_view_mode; }
void set_page_view_mode(PageViewMode);
bool show_rendering_diagnostics() const { return m_rendering_preferences.show_diagnostics; }
void set_show_rendering_diagnostics(bool);
bool show_clipping_paths() const { return m_rendering_preferences.show_clipping_paths; }
void set_show_clipping_paths(bool);
bool show_images() const { return m_rendering_preferences.show_images; }