From a89e744ed0e8c759caf041a580112365bbfe4303 Mon Sep 17 00:00:00 2001 From: radiohotline Date: Tue, 25 Aug 2026 16:33:56 +0300 Subject: escoria update --- addons/escoria-core/ui_library/inventory/esc_inventory_button.gd | 2 +- addons/escoria-core/ui_library/inventory/esc_inventory_container.gd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'addons/escoria-core/ui_library/inventory') diff --git a/addons/escoria-core/ui_library/inventory/esc_inventory_button.gd b/addons/escoria-core/ui_library/inventory/esc_inventory_button.gd index b109c38..390055f 100644 --- a/addons/escoria-core/ui_library/inventory/esc_inventory_button.gd +++ b/addons/escoria-core/ui_library/inventory/esc_inventory_button.gd @@ -1,7 +1,7 @@ ## The inventory representation of an ESC item if pickable (only used by ## the inventory components) -extends TextureButton class_name ESCInventoryButton +extends TextureButton ## Signal emitted when the item was left clicked.[br] ## [br] diff --git a/addons/escoria-core/ui_library/inventory/esc_inventory_container.gd b/addons/escoria-core/ui_library/inventory/esc_inventory_container.gd index 1e6dab8..748d714 100644 --- a/addons/escoria-core/ui_library/inventory/esc_inventory_container.gd +++ b/addons/escoria-core/ui_library/inventory/esc_inventory_container.gd @@ -1,7 +1,7 @@ ## Inventory container handler that acts as a base for UIs inventory containers. -extends Control class_name ESCInventoryContainer +extends Control ## Whether any item in the container is currently focused.[br] var item_focused: bool = false @@ -85,7 +85,7 @@ func get_inventory_button(inventory_item: ESCInventoryItem) -> ESCInventoryButto ## #### Returns[br] ## [br] ## Returns nothing. -func _on_inventory_item_focused(item_id): +func _on_inventory_item_focused(_item_id): item_focused = true -- cgit v1.3