Skip to content

Commit

Permalink
Merge pull request #2831 from JManch/tray-fix-spacing
Browse files Browse the repository at this point in the history
fix(tray): completely hide tray when it is empty
  • Loading branch information
Alexays authored Jan 14, 2024
2 parents f744d90 + 95ffc29 commit 07eabc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/sni/tray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 07eabc5

Please sign in to comment.