1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-03-14 23:35:17 +00:00

fixed wrong index drawn when moved to an smpty swatch

This commit is contained in:
Variable 2024-11-26 15:35:20 +05:00
parent b8c04e83c9
commit dcf26084df

View file

@ -78,7 +78,7 @@ func update_palette() -> void:
return
if palette.size() != current_palette.colors_max:
palette.resize(current_palette.colors_max)
palette.fill(TRANSPARENT)
palette.fill(TRANSPARENT)
for i in current_palette.colors:
palette[i] = current_palette.colors[i].color