(&self, e: &mut MouseEvent)
| 252 | } |
| 253 | |
| 254 | fn find_marked(&self, e: &mut MouseEvent) -> Option<&Box<dyn Element>> { |
| 255 | match self.get_focusable(e.x as f32, e.y as f32) { |
| 256 | Some(marked) => { |
| 257 | self.mark_control(marked.as_ref(), e); |
| 258 | Some(marked) |
| 259 | } |
| 260 | None => None, |
| 261 | } |
| 262 | } |
| 263 | |
| 264 | fn unmark_control(&self, control: &dyn Element, e: &mut MouseEvent) { |
| 265 | if control.is_marked() { |
nothing calls this directly
no test coverage detected