Remove layer hint text from disc preview

The layer hint was showing URLs and other internal data. The preview itself
is what matters, so just removed the hint text entirely.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
thePR0M3TH3ANandClaude Sonnet 4.6 committed 2026-05-15 15:50:31 -04:00
1 parent ec0cefdff5
commit 5c56a2d599
1 file changed
-11
-11
View File
@@ -5029,17 +5029,6 @@
outer.appendChild(discWrap);
container.appendChild(outer);
if (layers.length) {
const info = document.createElement('p');
info.className = 'hint';
info.style.marginTop = '8px';
info.textContent = `${layers.length} layer${layers.length>1?'s':''}: ` + layers.map(l => {
if (l.type === 'image') return l.name || '[Image]';
if (l.type === 'text') return l.name || (l.html||l.text||'').replace(/<[^>]+>/g,'').trim() || '[Text]';
return l.name || `[${l.type}]`;
}).join(', ');
container.appendChild(info);
}
}
function renderTemplatePreviewDOM(container, payload) {