(&self, cursor: mouse::Cursor)
| 477 | let Some(tick_plot) = self.y_axis_scale.data_to_plot(tick.value) else { |
| 478 | continue; |
| 479 | }; |
| 480 | // Convert world position to screen position |
| 481 | if let Some(screen_pos) = |
| 482 | world_to_screen_position_y(tick_plot, &self.camera, &self.bounds) |
| 483 | { |
| 484 | self.y_ticks.push(PositionedTick { screen_pos, tick }); |
| 485 | } |
no test coverage detected