Skip to content

Commit

Permalink
Futureproofing
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed Sep 2, 2023
1 parent 36dbb82 commit 4487dd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/ui/viewport_debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ fn main() {
.add_plugins(DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
title: "Viewport Coordinates Debug".to_string(),
// This example relies on these specific viewport dimensions, so let's explicitly
// define them.
resolution: [1280., 720.].into(),
resizable: false,
..Default::default()
}),
Expand Down

0 comments on commit 4487dd3

Please sign in to comment.