material-maker/addons/material_maker/widgets/hslider.gd

12 lines
154 B
GDScript

tool
extends HSlider
func _ready():
update_label(value)
func set_value(v):
.set_value(v)
update_label(v)
func update_label(v):
$Label.text = str(v)