mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
870d46ec2e
# Objective The `viewport_debug` example opens a window that is physically very large. Probably larger than the screen for the majority of machines. ## Solution Remove the custom resolution and adjust the pixel coordinates so that everything lines up. At the default resolution, everything is still whole numbers even without adjusting the viewport coordinates. |
||
---|---|---|
.. | ||
borders.rs | ||
button.rs | ||
display_and_visibility.rs | ||
flex_layout.rs | ||
font_atlas_debug.rs | ||
grid.rs | ||
overflow.rs | ||
overflow_debug.rs | ||
relative_cursor_position.rs | ||
size_constraints.rs | ||
text.rs | ||
text_debug.rs | ||
text_wrap_debug.rs | ||
transparency_ui.rs | ||
ui.rs | ||
ui_scaling.rs | ||
ui_texture_atlas.rs | ||
viewport_debug.rs | ||
window_fallthrough.rs | ||
z_index.rs |