bevy/tests/window
Rob Parrett 7f24c27645
Fix minimising example minimizing every frame (#15850)
# Objective

The `minimising` example is a bit annoying to run locally, because it
attempts to minimize the window every frame, so un-minimizing it is
difficult.

## Solution

Only minimize once.

The contents of the example can now be inspected, and the window easily
closed after the minimization happens.

## Testing

`cargo run --example minimising`

I tested on macos only.

---------

Co-authored-by: François Mockers <francois.mockers@vleue.com>
2024-10-11 15:36:09 +00:00
..
change_window_mode.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
minimising.rs Fix minimising example minimizing every frame (#15850) 2024-10-11 15:36:09 +00:00
resizing.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00