makes tooltips visible again

This commit is contained in:
2025-02-23 01:27:40 +01:00
parent 0e9bb9d2c7
commit b377f06be0

View File

@@ -341,8 +341,9 @@ func click_on_inventory_item(item_global_id: String, event: InputEvent, action:
)
# Hide tooltip if some action is being performed
if escoria.action_manager.action_state == ESCActionManager.ACTION_INPUT_STATE.COMPLETED:
$tooltip_layer/tooltip.setHidden()
# Disabled: leaves the tooltips hidden. ToDo: check if has other implications.
#if escoria.action_manager.action_state == ESCActionManager.ACTION_INPUT_STATE.COMPLETED:
# $tooltip_layer/tooltip.setHidden()
func left_click_on_inventory_item(inventory_item_global_id: String, event: InputEvent) -> void:
click_on_inventory_item(inventory_item_global_id, event, ACTION3)