Updated dialogic

This commit is contained in:
MaddoScientisto 2026-01-05 16:00:41 +01:00
commit cbb82512ee
483 changed files with 5743 additions and 2177 deletions

View file

@ -1 +1 @@
uid://bg23uw15w7ik5
uid://bok1je25mskp7

View file

@ -22,7 +22,7 @@ func _init() -> void:
field.fit_text_length = false
field.valid_file_drop_extension = ".dtl"
field.value_changed.connect(_on_field_value_changed)
field.get_suggestions_func = get_timeline_suggestions
field.suggestions_func = get_timeline_suggestions
button = Button.new()
hbox.add_child(button)
@ -49,7 +49,7 @@ func _on_field_value_changed(property:String, value:Variant) -> void:
func _update_property() -> void:
field.resource_icon = get_theme_icon("TripleBar", "EditorIcons")
field.resource_icon = load("res://addons/dialogic/Editor/Images/Resources/timeline.svg")
button.icon = get_theme_icon("ExternalLink", "EditorIcons")
# Read the current value from the property.
@ -61,7 +61,7 @@ func _update_property() -> void:
updating = true
current_value = new_value
if current_value:
field.set_value(DialogicResourceUtil.get_unique_identifier(current_value.resource_path))
field.set_value(current_value.get_identifier())
button.show()
else:
button.hide()

View file

@ -1 +1 @@
uid://b00fydu3snk85
uid://58xvx63rw20a