roundabout,
created on Friday, 14 March 2025, 08:44:40 (1741941880),
received on Friday, 14 March 2025, 08:44:42 (1741941882)
Author identity: vlad <vlad.muntoiu@gmail.com>
9381e349c6c1f38064fab8356daa30a9e485ea4e
gpanthera.cc
@@ -335,7 +335,20 @@ namespace gPanthera {
auto *stack = switcher->get_stack(); // Move the button to the new position pane->redock(stack); pane->insert_before(*stack, *this->pane);if(switcher->get_orientation() == Gtk::Orientation::HORIZONTAL) { if(x < static_cast<double>(this->get_allocated_width()) / 2) { pane->insert_before(*stack, *this->pane); } else { pane->insert_after(*stack, *this->pane); } } else if(switcher->get_orientation() == Gtk::Orientation::VERTICAL) { if(y < static_cast<double>(this->get_allocated_height()) / 2) { pane->insert_before(*stack, *this->pane); } else { pane->insert_after(*stack, *this->pane); } }switcher->update_buttons(); } }