1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-12 16:53:07 +00:00

fixed a bug

This commit is contained in:
Variable 2024-10-15 16:59:22 +05:00
parent 6a60050bd3
commit 8990ff2816

View file

@ -130,7 +130,7 @@ func _on_grids_count_value_changed(value: float) -> void:
if grid_idx >= grids_select_container.get_child_count(): if grid_idx >= grids_select_container.get_child_count():
for key in range(grids_select_container.get_child_count(), grid_idx + 1): for key in range(grids_select_container.get_child_count(), grid_idx + 1):
if not grids.has(key): if not grids.has(key):
grids[grid_idx] = create_default_properties() grids[key] = create_default_properties()
add_remove_select_button(key) add_remove_select_button(key)
else: else:
for key: int in range(grid_idx + 1, grids.size()): for key: int in range(grid_idx + 1, grids.size()):