mirror of
https://github.com/bevyengine/bevy
synced 2024-11-29 08:00:20 +00:00
659860dfe5
# Objective Minor cosmetic improvements and code cleanup for this example ## Solution - Use the default font and shorter constructor where the the full font is not needed - Use 12px padding for instruction text to match other examples - Clean up formatting of instruction text - Fix one instance of a font handle not being reused <details> <summary>Before / After</summary> *Question mark boxes are expected. We don't include a font with the glyphs I'm testing the IME with* <img width="1280" alt="Screenshot 2024-09-02 at 11 14 17 AM" src="https://github.com/user-attachments/assets/e0a904a3-c01b-4c18-b71f-41fbc1d09169"> <img width="1280" alt="Screenshot 2024-09-02 at 11 13 14 AM" src="https://github.com/user-attachments/assets/4b2a2d31-6b9f-4b9a-a245-4258a6aa9519"> </details> ## Testing Tested all functionality of the example (macOS) |
||
---|---|---|
.. | ||
char_input_events.rs | ||
gamepad_input.rs | ||
gamepad_input_events.rs | ||
gamepad_rumble.rs | ||
keyboard_input.rs | ||
keyboard_input_events.rs | ||
keyboard_modifiers.rs | ||
mouse_grab.rs | ||
mouse_input.rs | ||
mouse_input_events.rs | ||
text_input.rs | ||
touch_input.rs | ||
touch_input_events.rs |