Merge pull request #3165 from haug1/fix/group-drawer-hover
fix(#3162): hover event did not propagate causing issues
This commit is contained in:
commit
08b0ed1b79
|
@ -90,14 +90,14 @@ bool AModule::handleMouseEnter(GdkEventCrossing* const& e) {
|
||||||
if (auto* module = event_box_.get_child(); module != nullptr) {
|
if (auto* module = event_box_.get_child(); module != nullptr) {
|
||||||
module->set_state_flags(Gtk::StateFlags::STATE_FLAG_PRELIGHT);
|
module->set_state_flags(Gtk::StateFlags::STATE_FLAG_PRELIGHT);
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AModule::handleMouseLeave(GdkEventCrossing* const& e) {
|
bool AModule::handleMouseLeave(GdkEventCrossing* const& e) {
|
||||||
if (auto* module = event_box_.get_child(); module != nullptr) {
|
if (auto* module = event_box_.get_child(); module != nullptr) {
|
||||||
module->unset_state_flags(Gtk::StateFlags::STATE_FLAG_PRELIGHT);
|
module->unset_state_flags(Gtk::StateFlags::STATE_FLAG_PRELIGHT);
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AModule::handleToggle(GdkEventButton* const& e) { return handleUserEvent(e); }
|
bool AModule::handleToggle(GdkEventButton* const& e) { return handleUserEvent(e); }
|
||||||
|
|
Loading…
Reference in New Issue