Skip to content

Commit

Permalink
Finish History open/close methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Jowan-Spooner committed Jan 7, 2024
1 parent 16a7a99 commit 0e8c7cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func _ready() -> void:
if Engine.is_editor_hint():
return
Dialogic.History.open_requested.connect(_on_show_history_pressed)
Dialogic.History.close_requested.connect(_on_hide_history_pressed)


func _apply_export_overrides() -> void:
Expand Down
5 changes: 5 additions & 0 deletions addons/dialogic/Modules/History/subsystem_history.gd
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ signal not_read_event_reached


signal open_requested
signal close_requested

####################################################################################################
## INITIALIZE
Expand All @@ -44,6 +45,10 @@ func open_history() -> void:
open_requested.emit()


func close_history() -> void:
close_requested.emit()


####################################################################################################
## STATE
####################################################################################################
Expand Down

0 comments on commit 0e8c7cc

Please sign in to comment.