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