Skip to content

Commit 5d1405d

Browse files
lewiszlwItsDoot
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 59f62e4 commit 5d1405d

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
@@ -1464,7 +1464,7 @@ wasm = true
14641464

14651465
[[example]]
14661466
name = "ui_scaling"
1467-
path = "examples/ui/scaling.rs"
1467+
path = "examples/ui/ui_scaling.rs"
14681468

14691469
[package.metadata.example.ui_scaling]
14701470
name = "UI Scaling"

examples/README.md

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

319319
## Window
320320

File renamed without changes.

0 commit comments

Comments
 (0)