Fix: drawer not appearing on configured side
This commit is contained in:
parent
4c5ff80bbd
commit
029b380c15
|
@ -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);
|
||||||
|
|
||||||
|
if (left_to_right) {
|
||||||
|
box.pack_end(revealer);
|
||||||
|
}
|
||||||
|
else {
|
||||||
box.pack_start(revealer);
|
box.pack_start(revealer);
|
||||||
|
}
|
||||||
|
|
||||||
addHoverHandlerTo(revealer);
|
addHoverHandlerTo(revealer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue