mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
13 lines
230 B
GDScript
13 lines
230 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()
|