-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split Val
into two enums, one with an Auto
variant and one without
#8096
Open
ickshonpe
wants to merge
28
commits into
bevyengine:main
Choose a base branch
from
ickshonpe:split-uirect
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,029
−465
Commits on Feb 8, 2023
-
Added a type `Breadth`, that is similar to `Val` but with only evaluatable variants. Gave UiRect a type parameter, so it can take `Breadth` or `Val` values. Added tests for `Breadth` and `UiRect`. Changed style properties to use `Breadth` instead of `Val` for the padding and border properties. Changed `bevy_ui::flex::convert::from_rect` to take an `UiRect<T: Into<Val>>` instead of a `UiRect`. Made minimal necessary changes to the examples.
Configuration menu - View commit details
-
Copy full SHA for 684b32a - Browse repository at this point
Copy the full SHA 684b32aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b2c93b - Browse repository at this point
Copy the full SHA 4b2c93bView commit details -
impl From<UiRect<Breadth> for <UiRect<Val> and use it to convert the …
…padding and border values in `bevy_ui::flex::convert::from_style`
Configuration menu - View commit details
-
Copy full SHA for 9597f15 - Browse repository at this point
Copy the full SHA 9597f15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d02b25 - Browse repository at this point
Copy the full SHA 7d02b25View commit details
Commits on Feb 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7ef9ca4 - Browse repository at this point
Copy the full SHA 7ef9ca4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 087fc9e - Browse repository at this point
Copy the full SHA 087fc9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d558224 - Browse repository at this point
Copy the full SHA d558224View commit details
Commits on Mar 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 785d320 - Browse repository at this point
Copy the full SHA 785d320View commit details -
* Renamed `Val` to `AutoVal` * Renamed `Breadth` to `Val` * Renamed `ValArithmeticError` to `AutoValArithmeticError` * Renamed `BreadthArithmeticError` to `ValArithmeticError` * Renamed `BreadthConversionError` to `ValConversionError`
Configuration menu - View commit details
-
Copy full SHA for 379388e - Browse repository at this point
Copy the full SHA 379388eView commit details -
* removed `UiRect` and added `Border`, `Padding` and `Margin` types. * fixed examples * fixed convert and added the style conversion helper functions from the grid PR. * renamed tests to use the correct names for the new types.
Configuration menu - View commit details
-
Copy full SHA for 942f611 - Browse repository at this point
Copy the full SHA 942f611View commit details -
Configuration menu - View commit details
-
Copy full SHA for 366f17e - Browse repository at this point
Copy the full SHA 366f17eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab9e662 - Browse repository at this point
Copy the full SHA ab9e662View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf87ae9 - Browse repository at this point
Copy the full SHA cf87ae9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c39d95c - Browse repository at this point
Copy the full SHA c39d95cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29febb9 - Browse repository at this point
Copy the full SHA 29febb9View commit details
Commits on Aug 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 492de41 - Browse repository at this point
Copy the full SHA 492de41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0488c26 - Browse repository at this point
Copy the full SHA 0488c26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53461c9 - Browse repository at this point
Copy the full SHA 53461c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbae861 - Browse repository at this point
Copy the full SHA bbae861View commit details -
Configuration menu - View commit details
-
Copy full SHA for e742dfc - Browse repository at this point
Copy the full SHA e742dfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 907ead4 - Browse repository at this point
Copy the full SHA 907ead4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97b8fa0 - Browse repository at this point
Copy the full SHA 97b8fa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for de76437 - Browse repository at this point
Copy the full SHA de76437View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87ba5fa - Browse repository at this point
Copy the full SHA 87ba5faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 084f5b8 - Browse repository at this point
Copy the full SHA 084f5b8View commit details -
Renamed
ValArithmeticError
toNumArithmeticError
and `AutoValArit……hmeticError` to `ValArithmeticError`
Configuration menu - View commit details
-
Copy full SHA for f334985 - Browse repository at this point
Copy the full SHA f334985View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cd390f - Browse repository at this point
Copy the full SHA 6cd390fView commit details
Commits on Aug 11, 2023
-
Removed references to
AutoVal
in comments. Fixed doc comments for `……Num` helper functions.
Configuration menu - View commit details
-
Copy full SHA for 3fb9b65 - Browse repository at this point
Copy the full SHA 3fb9b65View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.