MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / onMouseDown

Method onMouseDown

src/main/java/fieldcef/plugins/Pads.java:91–95  ·  view source on GitHub ↗
(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

Calls 1

button0Method · 0.95

Tested by

no test coverage detected