MCPcopy Create free account
hub / github.com/Card-Forge/forge / pan

Method pan

forge-gui-mobile/src/forge/Forge.java:1419–1432  ·  view source on GitHub ↗
(float x, float y, float deltaX, float deltaY, boolean moreVertical)

Source from the content-addressed store, hash-verified

1417 }
1418
1419 @Override
1420 public boolean pan(float x, float y, float deltaX, float deltaY, boolean moreVertical) {
1421 try {
1422 for (FDisplayObject listener : potentialListeners) {
1423 if (listener.pan(listener.screenToLocalX(x), listener.screenToLocalY(y), deltaX, deltaY, moreVertical)) {
1424 return true;
1425 }
1426 }
1427 return false;
1428 } catch (Exception ex) {
1429 BugReporter.reportException(ex);
1430 return true;
1431 }
1432 }
1433
1434 @Override
1435 public boolean panStop(float x, float y) {

Callers 1

scrolledMethod · 0.95

Calls 3

reportExceptionMethod · 0.95
screenToLocalXMethod · 0.80
screenToLocalYMethod · 0.80

Tested by

no test coverage detected