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:
parent
b8c04e83c9
commit
dcf26084df
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ func update_palette() -> void:
|
||||||
return
|
return
|
||||||
if palette.size() != current_palette.colors_max:
|
if palette.size() != current_palette.colors_max:
|
||||||
palette.resize(current_palette.colors_max)
|
palette.resize(current_palette.colors_max)
|
||||||
palette.fill(TRANSPARENT)
|
palette.fill(TRANSPARENT)
|
||||||
for i in current_palette.colors:
|
for i in current_palette.colors:
|
||||||
palette[i] = current_palette.colors[i].color
|
palette[i] = current_palette.colors[i].color
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue