Fix field.

This commit is contained in:
Ottermandias 2024-07-21 00:21:27 +02:00
parent 258f7e9732
commit e2313ba925

View file

@ -75,7 +75,7 @@ public partial class ModEditWindow
ImGui.TableHeader("Dye Preview"); ImGui.TableHeader("Dye Preview");
} }
for (var i = 0; i < ColorTable.NumUsedRows; ++i) for (var i = 0; i < ColorTable.NumRows; ++i)
{ {
ret |= DrawColorTableRow(tab, i, disabled); ret |= DrawColorTableRow(tab, i, disabled);
ImGui.TableNextRow(); ImGui.TableNextRow();