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

This commit is contained in:
Duncan Brown committed 2022-09-13 19:27:03 -04:00
1 parent 5f4c97ca99
commit 169a5b501a
1 file changed
+1 -1
@@ -317,7 +317,7 @@ func _on_mouse_entered_item(item: ESCItem) -> void:
hover_stack.push_back(item) hover_stack.push_back(item)
hotspot_focused = hover_stack.back().global_id 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 # The mouse exited an Escoria item