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

Method mousewheel

src/services/focus.rs:130–142  ·  view source on GitHub ↗
(&self, e: &mut MouseEvent)

Source from the content-addressed store, hash-verified

128 }
129
130 fn mousewheel(&self, e: &mut MouseEvent) {
131 if let Some(focused) = self.canvas.focused() {
132 if focused.mouse_input() {
133 focused.mousewheel(e);
134 }
135 }
136
137 if self.marked_mouse() {
138 if let Some(marked) = self.canvas.marked() {
139 marked.mousewheel(e);
140 }
141 }
142 }
143
144 fn marked_mouse(&self) -> bool {
145 if let Some(marked) = self.canvas.marked() {

Callers

nothing calls this directly

Calls 4

marked_mouseMethod · 0.80
focusedMethod · 0.45
mouse_inputMethod · 0.45
markedMethod · 0.45

Tested by

no test coverage detected