(color: Color, alpha_mul: f32)
| 892 | } |
| 893 | |
| 894 | fn apply_alpha(color: Color, alpha_mul: f32) -> Color { |
| 895 | Color::rgba( |
| 896 | color.r, |
| 897 | color.g, |
| 898 | color.b, |
| 899 | (color.a * alpha_mul).clamp(0.0, 255.0), |
| 900 | ) |
| 901 | } |
| 902 | |
| 903 | fn compute_vertical_scrollbar_geometry( |
| 904 | bbox: BoundingBox, |
no outgoing calls
no test coverage detected