Fix: drawer not appearing on configured side

This commit is contained in:
Jannik 2024-02-02 20:54:16 +01:00
parent 4c5ff80bbd
commit 029b380c15
No known key found for this signature in database
1 changed files with 7 additions and 1 deletions

View File

@ -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.add(revealer_box);
if (left_to_right) {
box.pack_end(revealer);
}
else {
box.pack_start(revealer);
}
addHoverHandlerTo(revealer);
}