Reset cursor on event done
This commit is contained in:
@@ -389,8 +389,11 @@ func update_tooltip_following_mouse_position(tooltip: Object):
|
||||
func _on_event_done(return_code: int, _event_name: String):
|
||||
if return_code == ESCExecution.RC_OK:
|
||||
escoria.action_manager.clear_current_action()
|
||||
# Show tooltips, they were hiddeen while performing action
|
||||
$tooltip_layer/tooltip.show()
|
||||
$tooltip_layer/tooltip2.show()
|
||||
# Reset mouse cursor to (perhaps we were using an inventory item)
|
||||
Input.set_custom_mouse_cursor(null)
|
||||
|
||||
|
||||
func _on_MenuButton_pressed() -> void:
|
||||
|
||||
Reference in New Issue
Block a user