Bit of cleanup

This commit is contained in:
2026-04-13 20:03:02 -05:00
parent 5a651d2d1f
commit a30b151e4d
30 changed files with 235 additions and 204 deletions
+3 -2
View File
@@ -164,8 +164,9 @@ function applyImageData(width, height, data, filename, formatLabel, format) {
// Sync format selector when loading an existing DTF
if (format !== undefined) {
state.format = format;
formatSelect.value = format;
state.format = format;
formatSelect.value = format;
redAsAlphaRow.hidden = format !== DTF.FORMAT_ALPHA;
}
// Sidebar info