move scale factors to constraints
Some checks failed
GDScript Auto-Formatting / Auto-Format GDScript Code (pull_request) Failing after 12s
GDScript Linting / GDScript Code Quality Check (pull_request) Failing after 11s

This commit is contained in:
2025-09-27 21:20:15 +04:00
parent 9b83bec37d
commit 77971497a4
5 changed files with 16 additions and 8 deletions

View File

@@ -212,7 +212,7 @@ func _update_visual_selection() -> void:
if control == language_stepper:
language_stepper.set_highlighted(true)
else:
control.scale = original_control_scales[i] * 1.05
control.scale = original_control_scales[i] * UIConstants.UI_CONTROL_HIGHLIGHT_SCALE
control.modulate = Color(1.1, 1.1, 0.9)
else:
# Reset highlighting