fix: add hover handler to every element in the group drawer
This commit is contained in:
parent
8f32d102ae
commit
05b97e9ec2
|
@ -110,10 +110,9 @@ void Group::addWidget(Gtk::Widget& widget) {
|
|||
getBox().pack_start(widget, false, false);
|
||||
|
||||
if (is_drawer) {
|
||||
if (is_first_widget) {
|
||||
// Necessary because of GTK's hitbox detection
|
||||
addHoverHandlerTo(widget);
|
||||
} else {
|
||||
// Necessary because of GTK's hitbox detection
|
||||
addHoverHandlerTo(widget);
|
||||
if (!is_first_widget) {
|
||||
widget.get_style_context()->add_class(add_class_to_drawer_children);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue