Skip to content

Commit

Permalink
Rename example file scaling.rs to ui_scaling.rs (bevyengine#6296)
Browse files Browse the repository at this point in the history
# 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.
  • Loading branch information
lewiszlw authored and ItsDoot committed Feb 1, 2023
1 parent 59f62e4 commit 5d1405d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
File renamed without changes.

0 comments on commit 5d1405d

Please sign in to comment.