1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 09:09:47 +00:00

Fix bug with ValueSliderV3 where the grid_columns variable was setting the ratio's visibility instead

This commit is contained in:
Emmanouil Papadeas 2024-12-17 02:31:21 +02:00
parent a8392fb14f
commit 618d5f4916

View file

@ -54,8 +54,8 @@ signal ratio_toggled(button_pressed: bool)
$Ratio.visible = val
@export var grid_columns := 1:
set(val):
show_ratio = val
$Ratio.visible = val
grid_columns = val
$GridContainer.columns = val
@export var slider_min_size := Vector2(32, 24):
set(val):
slider_min_size = val