UNDO CHANGES IN escoria-core
This commit is contained in:
@@ -70,6 +70,8 @@ var _is_gamepad_connected = false
|
||||
# Tracks the mouse's current position onscreen.
|
||||
var _current_mouse_pos = Vector2.ZERO
|
||||
|
||||
# A reference to the node handling tooltip2
|
||||
var tooltip2_node: Object
|
||||
|
||||
func _ready():
|
||||
$tooltip_layer/tooltip.connect("tooltip_size_updated", self, "update_tooltip_following_mouse_position")
|
||||
@@ -306,6 +308,7 @@ func inventory_item_focused(inventory_item_global_id: String) -> void:
|
||||
|
||||
func inventory_item_unfocused() -> void:
|
||||
$tooltip_layer/tooltip.set_target("")
|
||||
$tooltip_layer/tooltip2.set_target("")
|
||||
|
||||
|
||||
func open_inventory():
|
||||
@@ -439,6 +442,7 @@ func _on_event_done(_return_code: int, _event_name: String):
|
||||
escoria.action_manager.clear_current_action()
|
||||
$mouse_layer/verbs_menu.clear_tool_texture()
|
||||
$tooltip_layer/tooltip.set_target("")
|
||||
$tooltip_layer/tooltip2.set_target("")
|
||||
|
||||
|
||||
func _on_MenuButton_pressed() -> void:
|
||||
|
||||
4
gymkhana/addons/escoria-ui-return-monkey-island/item.gd
Normal file
4
gymkhana/addons/escoria-ui-return-monkey-island/item.gd
Normal file
@@ -0,0 +1,4 @@
|
||||
extends ESCItem
|
||||
|
||||
# The text for the tooltip of action2
|
||||
export(String) var tooltip2_name
|
||||
Reference in New Issue
Block a user