Skip to content

Commit

Permalink
fix: focuses the 'topmost' element from hover_stack inline with what …
Browse files Browse the repository at this point in the history
…hotspot_focused already is
  • Loading branch information
BHSDuncan committed Sep 13, 2022
1 parent 5f4c97c commit 169a5b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/escoria-core/game/esc_inputs_manager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 169a5b5

Please sign in to comment.