chore: remove dead css and polish

Remove dead per-row .minst/.mmod CSS rules (moved to modal).
Add self-healing guard in renderPoses for malformed localStorage.
This commit is contained in:
clement
2026-06-28 23:55:54 +02:00
parent 8c7a1aee00
commit 74e43d6915
2 changed files with 1 additions and 8 deletions
-8
View File
@@ -130,16 +130,8 @@ button.queued { animation: queued-blink 600ms ease-in-out infinite alternate; }
.mat-refresh-btn { width: auto; padding: 8px 12px; font-size: 16px; flex-shrink: 0;
background: #1a2a1a; border-color: #2a4a2a; color: #4d9; }
.mvoice-label { position: sticky; left: 0; z-index: 2; background: #111; }
.minst { position: sticky; left: 54px; z-index: 2; width: 78px; font-size: 10px;
background: #1a1a1a; color: #ccc; border: 1px solid #333; flex-shrink: 0; }
.kit-btn { flex: 1; padding: 10px 4px; font-size: 11px; }
.minst-head { width: 78px; flex-shrink: 0; }
.minst-edit-head { width: 22px; flex-shrink: 0; }
.mmod-head { width: 192px; flex-shrink: 0; }
.mmod { position: sticky; right: 0; z-index: 2; background: #111;
display: flex; gap: 2px; align-items: center; flex-shrink: 0; padding-left: 4px; }
.mmod-src, .mmod-tgt { width: 64px; font-size: 9px; background: #1a1a1a; color: #ccc; border: 1px solid #333; }
.mmod-dep { width: 56px; }
.mat-loop-full-btn { width: auto; padding: 8px 14px; font-size: 13px; margin: 4px 0;
background: #1a1a2e; border-color: #335; color: #9af; }
+1
View File
@@ -506,6 +506,7 @@ function renderSeq(vi) {
}
function renderPoses(vi) {
if (!Array.isArray(matPoses[vi])) matPoses[vi] = [];
const p = document.getElementById("cd-pane-poses"); p.innerHTML = "";
const add = document.createElement("div");
const id = document.createElement("input"); id.placeholder = "poseId"; id.className = "pose-id";