Update the drag endpoint.
(&mut self, row: u16, col: u16)
| 36 | |
| 37 | /// Update the drag endpoint. |
| 38 | pub fn update(&mut self, row: u16, col: u16) { |
| 39 | if self.dragging { |
| 40 | self.cursor = Some((row, col)); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | /// Mouse button released — keep the selection visible but stop tracking. |
| 45 | pub fn finalize(&mut self) { |
no outgoing calls