Adds steps logic for the register form.

This commit is contained in:
Dylan Sarrazyn
2024-01-31 16:56:35 +01:00
parent 9abb8499e2
commit e604c51ee9
60 changed files with 1972 additions and 1 deletions
@@ -0,0 +1,15 @@
@tool
extends Validator
class_name RangeValidator
func get_value(control: Control):
var range_control = control as Range
if not range_control:
return null
return range_control.value
func is_type(node) -> bool:
return node is Range and \
not (node is ScrollBar or node is ProgressBar or node is TextureProgressBar)