Fix errors with tooltip2
This commit is contained in:
@@ -241,7 +241,7 @@ func click_on_item(item_global_id: String, event: InputEvent, action: String) ->
|
||||
true
|
||||
)
|
||||
|
||||
if (action == ACTION1 && target_obj.tooltip_name != "") || (action == ACTION2 && target_obj.tooltip2_name != ""):
|
||||
if (action == ACTION1 && target_obj.tooltip_name != "") || (action == ACTION2 && target_obj is ESCItemWithTooltip && target_obj.tooltip2_name != ""):
|
||||
$tooltip_layer/tooltip.hide()
|
||||
$tooltip_layer/tooltip2.hide()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user