bevy/examples/games
ickshonpe 6a8fd54006
Unnecessary line in game_menu example (#9406)
# Objective

In the `game_menu` example:

```rust
let button_icon_style = Style {
            width: Val::Px(30.0),
            // This takes the icons out of the flexbox flow, to be positioned exactly
            position_type: PositionType::Absolute,
            // The icon will be close to the left border of the button
            left: Val::Px(10.0),
            right: Val::Auto,
            ..default()
        };
```

The default value for `right` is `Val::Auto` so that line is unnecessary
and can be removed.
2023-08-11 21:12:57 +00:00
..
alien_cake_addict.rs Flatten UI Style properties that use Size + remove Size (#8548) 2023-05-16 01:36:32 +00:00
breakout.rs bevy_audio: ECS-based API redesign (#8424) 2023-07-07 23:01:17 +00:00
contributors.rs fix new clippy lints before they reach stable (#8700) 2023-05-29 07:23:50 +00:00
game_menu.rs Unnecessary line in game_menu example (#9406) 2023-08-11 21:12:57 +00:00