Dismiss the selection entirely.
(&mut self)
| 48 | |
| 49 | /// Dismiss the selection entirely. |
| 50 | pub fn clear(&mut self) { |
| 51 | self.anchor = None; |
| 52 | self.cursor = None; |
| 53 | self.dragging = false; |
| 54 | } |
| 55 | |
| 56 | /// True if there is a visible selection (dragging or finalized). |
| 57 | pub fn is_active(&self) -> bool { |
no outgoing calls
no test coverage detected