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

Method panStop

forge-gui-mobile/src/forge/Forge.java:1434–1447  ·  view source on GitHub ↗
(float x, float y)

Source from the content-addressed store, hash-verified

1432 }
1433
1434 @Override
1435 public boolean panStop(float x, float y) {
1436 try {
1437 for (FDisplayObject listener : potentialListeners) {
1438 if (listener.panStop(listener.screenToLocalX(x), listener.screenToLocalY(y))) {
1439 return true;
1440 }
1441 }
1442 return false;
1443 } catch (Exception ex) {
1444 BugReporter.reportException(ex);
1445 return true;
1446 }
1447 }
1448
1449 @Override
1450 public boolean zoom(float x, float y, float amount) {

Callers 1

scrolledMethod · 0.95

Calls 3

reportExceptionMethod · 0.95
screenToLocalXMethod · 0.80
screenToLocalYMethod · 0.80

Tested by

no test coverage detected