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 Pietrek14 committed Dec 17, 2022
1 parent 8620abe commit d825811
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 @@ -1474,7 +1474,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 @@ -315,7 +315,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 d825811

Please sign in to comment.