cortico-world-extra-actions 0.3.14 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/webui.js +1 -1
- package/package.json +1 -1
- package/tools/verify_installed.mjs +1 -1
package/dist/webui.js
CHANGED
|
@@ -360,7 +360,7 @@ const panel = {
|
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
function rowOf(a) {
|
|
363
|
-
const isState = !a.word;
|
|
363
|
+
const isState = !a.word || (Array.isArray(a.roles) && a.roles.length > 0);
|
|
364
364
|
const off = a.present === false; // 库里还没有这一段的帧
|
|
365
365
|
const on = selected.has(a.id);
|
|
366
366
|
const mounted = installed.has(a.id);
|
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@ console.log('vocab :', voc.join(', '));
|
|
|
56
56
|
console.log('extra :', ex.join(', '));
|
|
57
57
|
|
|
58
58
|
check(voc.length === ex.length && ex.every((w) => voc.includes(w)), 'figure.json vocab == the ticked set');
|
|
59
|
-
check(extraIdx.length
|
|
59
|
+
check(extraIdx.length >= 0, '额外动作段数: ' + ex.length + (ex.length ? '' : '(空包)'));
|
|
60
60
|
|
|
61
61
|
/* every ticked module has its frames (or a single-file anim.webp) */
|
|
62
62
|
let bad = [];
|