Rename example file scaling.rs to ui_scaling.rs (#6296)

# Objective

To be consistent like other examples, it's better to keep file name and example name same, so we don't need to find correct example name in Cargo.toml.

## Solution

Rename example file scaling.rs to ui_scaling.rs.
This commit is contained in:
张林伟 2022-10-19 11:36:26 +00:00
parent a658bfef19
commit c7fe4027a1
3 changed files with 2 additions and 2 deletions

View file

@ -1464,7 +1464,7 @@ wasm = true
[[example]]
name = "ui_scaling"
path = "examples/ui/scaling.rs"
path = "examples/ui/ui_scaling.rs"
[package.metadata.example.ui_scaling]
name = "UI Scaling"

View file

@ -314,7 +314,7 @@ Example | Description
[Text Debug](../examples/ui/text_debug.rs) | An example for debugging text layout
[Transparency UI](../examples/ui/transparency_ui.rs) | Demonstrates transparency for UI
[UI](../examples/ui/ui.rs) | Illustrates various features of Bevy UI
[UI Scaling](../examples/ui/scaling.rs) | Illustrates how to scale the UI
[UI Scaling](../examples/ui/ui_scaling.rs) | Illustrates how to scale the UI
## Window