Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/bevy_input_focus/src/directional_navigation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,8 @@ fn auto_rebuild_ui_navigation_graph(
let (_scale, _rotation, translation) = transform.to_scale_angle_translation();
Some(FocusableArea {
entity,
position: translation,
size: computed.size(),
position: translation * computed.inverse_scale_factor(),
size: computed.size() * computed.inverse_scale_factor(),
})
})
.collect();
Expand Down