You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This helps to immediately achieve the initial y "original point" of the slots, which the sum of the titlebar height and the top margin of the panel.
982
+
int vertical_ofs = titlebar_hbox->get_size().height + theme_cache.titlebar->get_minimum_size().height + theme_cache.panel->get_margin(SIDE_TOP);
979
983
980
984
left_port_cache.clear();
981
985
right_port_cache.clear();
982
-
int slot_index = 0;
986
+
987
+
slot_count = 0; // Reset the slot count, which is the index of the current slot.
983
988
984
989
for (int i = 0; i < get_child_count(false); i++) {
985
990
Control *child = as_sortable_control(get_child(i, false), SortableVisibilityMode::IGNORE);
0 commit comments