Files
oak-gpui/crates
Michael Sloan 9fc570c4be Remove Pixels: Mul<Pixels, Output = Pixels> impl, add ScaledPixels ops (#27451)
It doesn't make sense to have `Pixels: Mul<Pixels, Output = Pixels>` as
the output should be `Pixels^2` (area), so these impls are removed. All
code where these impls were used are improved by instead multiplying by
`f32` or `usize`.

Also adds math op impls that are present for `Pixels` but absent for
`ScaledPixels`. Adds missing `Mul<Pixels> for usize` to both.

Release Notes:

- N/A
2025-03-25 19:34:26 +00:00
..
2025-03-21 10:04:39 -06:00
2025-03-22 02:56:25 +00:00
2025-03-10 13:38:30 -06:00
2025-03-25 18:18:22 +00:00
2025-03-18 12:55:25 -04:00
2025-03-24 22:31:11 -07:00
2025-03-06 10:56:28 -07:00
2025-03-24 22:31:11 -07:00
2025-03-21 20:08:03 +00:00