MCPcopy Create free account
hub / github.com/angular-rust/ux-components / marked_mouse

Method marked_mouse

src/services/focus.rs:144–151  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

142 }
143
144 fn marked_mouse(&self) -> bool {
145 if let Some(marked) = self.canvas.marked() {
146 if let Some(focused) = self.canvas.focused() {
147 return (marked != focused) && marked.mouse_input();
148 }
149 }
150 false
151 }
152
153 fn get_markable(&self, target: &dyn Element, x: f32, y: f32) -> Option<&dyn Element> {
154 let highest = target.topmost_child_at_point(x, y);

Callers 4

mousedownMethod · 0.80
mouseupMethod · 0.80
mousewheelMethod · 0.80
mousemoveMethod · 0.80

Calls 3

markedMethod · 0.45
focusedMethod · 0.45
mouse_inputMethod · 0.45

Tested by

no test coverage detected