Liam Gallagher
Liam Gallagher
Can be closed, added in #18
I am unsure of how to resolve the following error ``` x icons/bevyengine.svg x icon-size Size of must be exactly 24 in one dimension; the size is c urrently 23.933...
I don't know how to fix the final error ``` x icons/bevyengine.svg x icon-size Size of must be exactly 24 in one dimension; the size is currently 23.999 x 17.638...
Python Version is 3.10.5 App version is 2.3
> I so much want to remove that file 🙁 I personally think using a crate like [palette](https://crates.io/crates/palette) is the way to go
I have put this as a draft as I am unsure of how to implement the doc tests for the associated methods. The tests require used of the arguments passed...
`macro_rules!` just wasn't the right tool for the job so I've resorted to just manually implementing both types.
Removed the assert for checking if the size is positive in `URect`'s from size and half size methods as `UVec2` is always positive. https://github.com/bevyengine/bevy/blob/a19968e085387a795afce6ea8162b7d92b82aaec/crates/bevy_math/src/rects/urect.rs#L77
For `URect` I've created another method `outset` as the inset method takes a positive only integer, however to me it makes more sense for `inset` to create a smaller rect...
Did a [quick poll](https://discord.com/channels/691052431525675048/691052431974465548/1116857172836499519) on Discord and from this I think the best solution is to have `URect`'s `inset` method take an `i32`