summaryrefslogtreecommitdiff
path: root/scenes/closable_window.gd
diff options
context:
space:
mode:
authorZoey Kitt <zoey.kitt@outlook.com>2024-11-15 18:27:17 -0600
committerZoey Kitt <zoey.kitt@outlook.com>2024-11-15 18:27:17 -0600
commit82cc07f7dc13b391c085cb66125c1f35583d5788 (patch)
treefc490926a591ec8c64dbb6c8f90dae92aa237745 /scenes/closable_window.gd
parent3080ca5b71cf387b5d8c6cb969470edee39ee367 (diff)
Let the user close extra windows
Diffstat (limited to 'scenes/closable_window.gd')
-rw-r--r--scenes/closable_window.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/scenes/closable_window.gd b/scenes/closable_window.gd
new file mode 100644
index 0000000..97e1e03
--- /dev/null
+++ b/scenes/closable_window.gd
@@ -0,0 +1,5 @@
+extends Window
+
+
+func _on_close_requested() -> void:
+ queue_free()