fix: focuses the 'topmost' element from hover_stack inline with what hotspot_focused already is

This commit is contained in:
Duncan Brown
2022-09-07 17:29:08 -04:00
parent 5f4c97ca99
commit 169a5b501a

View File

@@ -317,7 +317,7 @@ func _on_mouse_entered_item(item: ESCItem) -> void:
hover_stack.push_back(item)
hotspot_focused = hover_stack.back().global_id
escoria.main.current_scene.game.element_focused(item.global_id)
escoria.main.current_scene.game.element_focused(hotspot_focused)
# The mouse exited an Escoria item