mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
Fix: drawer not appearing on configured side
This commit is contained in:
@ -73,7 +73,13 @@ Group::Group(const std::string& name, const std::string& id, const Json::Value&
|
|||||||
revealer.get_style_context()->add_class("drawer");
|
revealer.get_style_context()->add_class("drawer");
|
||||||
|
|
||||||
revealer.add(revealer_box);
|
revealer.add(revealer_box);
|
||||||
box.pack_start(revealer);
|
|
||||||
|
if (left_to_right) {
|
||||||
|
box.pack_end(revealer);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
box.pack_start(revealer);
|
||||||
|
}
|
||||||
|
|
||||||
addHoverHandlerTo(revealer);
|
addHoverHandlerTo(revealer);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user