Skip to content

Commit

Permalink
correctly handle scale
Browse files Browse the repository at this point in the history
  • Loading branch information
notmd committed Mar 19, 2024
1 parent 7c7d1e8 commit f952586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_dev_tools/src/debug_overlay/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ fn outline_roots(
);
}
let window_scale = window.get_single().map_or(1., Window::scale_factor);
let scale_factor = window_scale * outline.ui_scale.0;
let scale_factor = outline.ui_scale.0;

// We let the line be defined by the window scale alone
let line_width = outline
Expand Down

0 comments on commit f952586

Please sign in to comment.