improve ui, bug fix and update assets

This commit is contained in:
2026-06-04 23:33:52 +02:00
parent 34ffced619
commit 5ffd92c26b
72 changed files with 1276 additions and 144 deletions

View File

@@ -16,8 +16,14 @@ func _on_photo_highlighted(texture: Texture) -> void:
photo.setup(texture)
var is_closing: bool = false
func _on_panel_gui_input(event: InputEvent) -> void:
if is_closing:
return
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.pressed:
is_closing = true
await TweenFX.fold_out(photo).finished
photo.texture_rect.texture = null
hide()
is_closing = false