Compare commits

..

No commits in common. '69cbe9b2359de4e269317f1cb7edefb0fffbaad4' and '4df1c2b7e10c5e900ef5418f42422415bd0e988c' have entirely different histories.

  1. 12
      code/tc.preset.js
  2. 2
      init/tc.preset_init.txt

12
javascript/tc.preset.js → code/tc.preset.js

@ -205,6 +205,13 @@ 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); 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(); paint_base();
} }
calc_rows_columns.local = 1; calc_rows_columns.local = 1;
@ -966,11 +973,6 @@ 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() { function subscriptionlist() {
var client = arrayfromargs(arguments)[0]; var client = arrayfromargs(arguments)[0];
if (is_listening_to_subscriptionlist) { if (is_listening_to_subscriptionlist) {

2
init/tc.preset_init.txt

@ -1,2 +1,2 @@
max objectfile tc.preset tc.preset; max objectfile tc.preset tc.preset;
max definesubstitution tc.preset jsui @filename tc.preset; max definesubstitution tc.preset jsui @filename tc.preset
Loading…
Cancel
Save