[Merged by Bors] - Rename CameraUi#5234
Conversation
00aff22 to
aa9593d
Compare
bef8285 to
9608cb9
Compare
alice-i-cecile
left a comment
There was a problem hiding this comment.
I would probably prefer UiCameraConfig, but I won't block on that.
|
I much prefer UiCameraConfig |
In bevy 0.7, `CameraUi` was a component specifically added to cameras that display the UI. Since camera-driven rendering was merged, it actually does the opposite! This will make it difficult for current users to adapt to 0.8. To avoid unnecessary confusion, we rename `CameraUi` into `UiCameraConfig`.
9608cb9 to
11d59a1
Compare
cart
left a comment
There was a problem hiding this comment.
Works for me! Not a huge fan of swapping if let Some(...) = foo {} for if matches!(foo, Some(...)) {}. if let is both more ergonomic and a "built in language feature" instead of a "built in macro". All other things equal, if I ever have the option not to use a macro, I take it.
That being said. Not worth blocking on.
|
bors r+ |
# Objective In bevy 0.7, `CameraUi` was a component specifically added to cameras that display the UI. Since camera-driven rendering was merged, it actually does the opposite! This will make it difficult for current users to adapt to 0.8. ## Solution To avoid unnecessary confusion, we rename `CameraUi` into `UiCameraConfig`. --- ## Changelog - Rename `CameraUi` to `UiCameraConfig`
|
@cart I feel |
# Objective In bevy 0.7, `CameraUi` was a component specifically added to cameras that display the UI. Since camera-driven rendering was merged, it actually does the opposite! This will make it difficult for current users to adapt to 0.8. ## Solution To avoid unnecessary confusion, we rename `CameraUi` into `UiCameraConfig`. --- ## Changelog - Rename `CameraUi` to `UiCameraConfig`
# Objective In bevy 0.7, `CameraUi` was a component specifically added to cameras that display the UI. Since camera-driven rendering was merged, it actually does the opposite! This will make it difficult for current users to adapt to 0.8. ## Solution To avoid unnecessary confusion, we rename `CameraUi` into `UiCameraConfig`. --- ## Changelog - Rename `CameraUi` to `UiCameraConfig`
# Objective In bevy 0.7, `CameraUi` was a component specifically added to cameras that display the UI. Since camera-driven rendering was merged, it actually does the opposite! This will make it difficult for current users to adapt to 0.8. ## Solution To avoid unnecessary confusion, we rename `CameraUi` into `UiCameraConfig`. --- ## Changelog - Rename `CameraUi` to `UiCameraConfig`
Objective
In bevy 0.7,
CameraUiwas a component specifically added to camerasthat display the UI. Since camera-driven rendering was merged, it
actually does the opposite! This will make it difficult for current
users to adapt to 0.8.
Solution
To avoid unnecessary confusion, we rename
CameraUiintoUiCameraConfig.Changelog
CameraUitoUiCameraConfig