mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 20:53:47 +00:00
Updated dialogic
This commit is contained in:
parent
1d11462073
commit
cbb82512ee
483 changed files with 5743 additions and 2177 deletions
|
|
@ -111,7 +111,9 @@ func add_ref_change(old_name:String, new_name:String, type:Types, where:=Where.T
|
|||
'category':category_name,
|
||||
'character_names':character_names,
|
||||
'texts_only':where == Where.TEXTS_ONLY,
|
||||
'type':type
|
||||
'type':type,
|
||||
'case_sensitive':case_sensitive,
|
||||
'whole_words':whole_words,
|
||||
})
|
||||
|
||||
update_indicator()
|
||||
|
|
@ -161,7 +163,6 @@ func open() -> void:
|
|||
DialogicResourceUtil.update_directory('dch')
|
||||
DialogicResourceUtil.update_directory('dtl')
|
||||
popup_centered_ratio(0.5)
|
||||
move_to_foreground()
|
||||
grab_focus()
|
||||
|
||||
|
||||
|
|
@ -170,6 +171,10 @@ func _on_close_requested() -> void:
|
|||
broken_manager.close()
|
||||
|
||||
|
||||
func get_change_count() -> int:
|
||||
return len(broken_manager.reference_changes)
|
||||
|
||||
|
||||
func update_indicator() -> void:
|
||||
icon_button.get_child(0).visible = !broken_manager.reference_changes.is_empty()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue