Skip to content

Commit d825811

Browse files
lewiszlwPietrek14
authored andcommitted
Rename example file scaling.rs to ui_scaling.rs (bevyengine#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.
1 parent 8620abe commit d825811

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ wasm = true
14741474

14751475
[[example]]
14761476
name = "ui_scaling"
1477-
path = "examples/ui/scaling.rs"
1477+
path = "examples/ui/ui_scaling.rs"
14781478

14791479
[package.metadata.example.ui_scaling]
14801480
name = "UI Scaling"

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ Example | Description
315315
[Text Debug](../examples/ui/text_debug.rs) | An example for debugging text layout
316316
[Transparency UI](../examples/ui/transparency_ui.rs) | Demonstrates transparency for UI
317317
[UI](../examples/ui/ui.rs) | Illustrates various features of Bevy UI
318-
[UI Scaling](../examples/ui/scaling.rs) | Illustrates how to scale the UI
318+
[UI Scaling](../examples/ui/ui_scaling.rs) | Illustrates how to scale the UI
319319

320320
## Window
321321

File renamed without changes.

0 commit comments

Comments
 (0)