fix issue when resyncing with out-of-grid new presets

This commit is contained in:
2024-12-18 15:15:01 +01:00
parent 4df1c2b7e1
commit 76ad31163f

View File

@@ -205,13 +205,6 @@ function calc_rows_columns() {
slots[cur] = new slot(left, top, right, bottom, prev_state.name, prev_state.lock, prev_state.interp, prev_state.color_index, prev_state.color_custom);
}
}
if (slots_count_display < slots_highest) {
for (var i = slots_count_display + 1; i <= slots_highest; i++) {
slots[i] = new slot();
slots[i].init();
}
}
paint_base();
}
calc_rows_columns.local = 1;
@@ -973,6 +966,11 @@ function read() {
}
}
// Given that v8ui has a new read method that cannot be overriden, we need to use [substitute read readfile] between [pattrstorage] and [tc.prest]
function readfile(f, s) {
read(f, s);
}
function subscriptionlist() {
var client = arrayfromargs(arguments)[0];
if (is_listening_to_subscriptionlist) {