Method
onMouseDown
(Window.Event<Window.MouseState> e, int button)
Source from the content-addressed store, hash-verified
| 89 | @Override |
| 90 | public Mouse.Dragger onMouseDown(Window.Event<Window.MouseState> e, int button) { |
| 91 | if (button == 0) return button0(e); |
| 92 | return null; |
| 93 | } |
| 94 | |
| 95 | protected Mouse.Dragger button0(Window.Event<Window.MouseState> e) { |
| 96 | if (!e.after.keyboardState.keysDown.contains(GLFW_KEY_P)) return null; |
| 97 | |
| 98 | Optional<Drawing> drawing = this.find(Drawing.drawing, both()) |
Callers
nothing calls this directly
Tested by
no test coverage detected