mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
16 lines
209 B
GDScript
16 lines
209 B
GDScript
extends Popup
|
|
|
|
signal updated(value)
|
|
|
|
func init(value):
|
|
$Panel/Control.set_value(value)
|
|
|
|
|
|
|
|
func _on_Control_updated(value):
|
|
emit_signal("updated", value)
|
|
|
|
|
|
func _on_GradientPopup_popup_hide():
|
|
queue_free()
|