Fix regression causing object not resizing properly when in list layout

with scrollable enabled
This commit is contained in:
tfl
2026-09-25 15:40:47 +02:00
parent 40890b3d93
commit 9c762b8cb5
+1 -1
View File
@@ -312,7 +312,7 @@ function calc_rows_columns(src) {
} }
// Preventing useless redraws when resizing // Preventing useless redraws when resizing
if (src === "resize" && previous_rows === rows && previous_columns === columns) return false; if (src === "resize" && layout === 0 && previous_rows === rows && previous_columns === columns) return false;
true_slots_count_display = columns * rows - minus_slots_carry; true_slots_count_display = columns * rows - minus_slots_carry;
slots_count_display = scrollable && nbslot_edit ? true_slots_count_display - 2 : true_slots_count_display; slots_count_display = scrollable && nbslot_edit ? true_slots_count_display - 2 : true_slots_count_display;