(&self)
| 1942 | let width = bounds.width.max(1.0) as f64; |
| 1943 | let height = bounds.height.max(1.0) as f64; |
| 1944 | let target_half_y = aspect * camera.half_extents.x * (height / width); |
| 1945 | if (camera.half_extents.y - target_half_y).abs() > f64::EPSILON { |
| 1946 | camera.half_extents.y = target_half_y; |
| 1947 | return true; |
| 1948 | } |
| 1949 | false |
| 1950 | } |
| 1951 | |
| 1952 | impl PlotWidget { |
nothing calls this directly
no outgoing calls
no test coverage detected