Гант: убрана прозрачность строк с выведенным сроком
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m28s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-17 12:50:43 +03:00
parent b86c29dab2
commit 1a27060706

View File

@@ -284,7 +284,7 @@ export function renderGantt(model: ProcessModel, schedule: Schedule, opts: Gantt
]);
const ms = row.isMilestone;
const name = row.actionName ?? row.description ?? "";
out.push(`<g${t.fromConstraint || t.kind === "recurring" ? "" : ' opacity="0.65"'}>${tip}`);
out.push(`<g>${tip}`);
out.push(`<text class="sel" x="12" y="${cy + 4}" font-weight="${ms ? 700 : 500}" fill="${warn ? "#b00020" : "#222"}">${esc(row.id)}</text>`);
out.push(`<text class="sel" x="62" y="${cy + 4}" font-weight="${ms ? 600 : 400}" fill="#222">${esc(truncate(name, 52))}</text>`);
if (row.questions) out.push(`<circle cx="${GANTT_LEFT - 14}" cy="${cy}" r="4" fill="#e6a100"><title>${esc(row.questions)}</title></circle>`);