Merge pull request #2831 from JManch/tray-fix-spacing

fix(tray): completely hide tray when it is empty
pull/2853/head
Alexis Rouillard 2024-01-14 16:33:28 +01:00 committed by GitHub
commit 07eabc5328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ void Tray::onRemove(std::unique_ptr<Item>& item) {
auto Tray::update() -> void {
// Show tray only when items are available
box_.set_visible(!box_.get_children().empty());
event_box_.set_visible(!box_.get_children().empty());
// Call parent update
AModule::update();
}