bevy/examples/tools
Rob Parrett cdd71afde5
Fix panic in gamepad_viewer example when gamepad is connected (#15854)
# Objective

Fixes #15832

## Solution

It seems that this was just a transliteration mistake during #15591.

Update the correct text span index.

## Testing

I tested on macos with:

`cargo run --example gamepad_viewer`
- without gamepad connected
- with gamepad connected
- disconnecting and reconnecting gamepad while running
2024-10-11 16:40:21 +00:00
..
scene_viewer Text rework (#15591) 2024-10-09 18:35:36 +00:00
gamepad_viewer.rs Fix panic in gamepad_viewer example when gamepad is connected (#15854) 2024-10-11 16:40:21 +00:00