diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2025-06-17 21:35:08 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2025-06-23 15:19:52 -0400 |
| commit | f59acf14a8a8630a5b9a0e0cb422a1192f247f5d (patch) | |
| tree | 7018ad230557f9e1fcb68cbbd4e6fdefb9b3005a /ui/globalarea.h | |
| parent | df2691ad3443fdf9767869be73c1014f49383239 (diff) | |
Allow sidebar icons to be hidden
Diffstat (limited to 'ui/globalarea.h')
| -rw-r--r-- | ui/globalarea.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/globalarea.h b/ui/globalarea.h index f040b802..5ef9d541 100644 --- a/ui/globalarea.h +++ b/ui/globalarea.h @@ -215,5 +215,6 @@ public: SidebarWidgetLocation defaultLocation() const override { return SidebarWidgetLocation::LeftBottom; } SidebarContextSensitivity contextSensitivity() const override { return GlobalSidebarContext; } bool alwaysShowTabs() const override { return true; } - bool hideIfNoContent() const override { return true; } + SidebarIconVisibility defaultIconVisibility() const override { return InvisibleIfNoContent; } + SidebarContentClassifier* contentClassifier(ViewFrame*, BinaryViewRef) override; }; |
