fix(#3162): hover event did not propagate causing issues

This commit is contained in:
Lars-Ragnar A. Haugen 2024-04-23 16:18:54 +02:00
parent 501e63fba6
commit 5b7d0a2810
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -90,14 +90,14 @@ bool AModule::handleMouseEnter(GdkEventCrossing* const& e) {
if (auto* module = event_box_.get_child(); module != nullptr) {
module->set_state_flags(Gtk::StateFlags::STATE_FLAG_PRELIGHT);
}
return true;
return false;
}
bool AModule::handleMouseLeave(GdkEventCrossing* const& e) {
if (auto* module = event_box_.get_child(); module != nullptr) {
module->unset_state_flags(Gtk::StateFlags::STATE_FLAG_PRELIGHT);
}
return true;
return false;
}
bool AModule::handleToggle(GdkEventButton* const& e) { return handleUserEvent(e); }