Work on item display windows and variant coloring for portraits and sprites.

This commit is contained in:
2025-08-30 08:01:48 -04:00
parent b93889e914
commit 149ee993dc
84 changed files with 1526 additions and 43 deletions

View File

@@ -1,7 +1,14 @@
class_name ProfileWindow extends Window
var dragging : bool = false
var adding_subwindow : bool = false
func _on_focus_exited() -> void:
var focused_node = get_viewport().gui_get_focus_owner()
if is_ancestor_of(focused_node) or adding_subwindow:
return
else:
_on_close_requested()
func _on_close_requested() -> void:
queue_free()