Fix regression causing object not resizing properly when in list layout
with scrollable enabled
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user