fix: hide tray event box instead of box

This commit is contained in:
Joshua Manchester
2024-01-14 15:06:06 +00:00
parent f744d906be
commit 95ffc291f6

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();
}