(int x, int y, int pointer, int button)
| 1304 | } |
| 1305 | |
| 1306 | @Override |
| 1307 | public boolean touchDown(int x, int y, int pointer, int button) { |
| 1308 | lastInputWasController = false; |
| 1309 | if (transitionScreen != null) { |
| 1310 | boolean isFDialog = FOverlay.getTopOverlay() != null && FOverlay.getTopOverlay() instanceof FDialog; |
| 1311 | if (!isFDialog) |
| 1312 | return false; |
| 1313 | } |
| 1314 | if (pointer == 0) { //don't change listeners when second finger goes down for zoom |
| 1315 | updatePotentialListeners(x, y); |
| 1316 | if (keyInputAdapter != null) { |
| 1317 | if (!keyInputAdapter.allowTouchInput() || !potentialListeners.contains(keyInputAdapter.getOwner())) { |
| 1318 | endKeyInput(); //end key input if needed |
| 1319 | } |
| 1320 | } |
| 1321 | } |
| 1322 | mouseButtonID = button; |
| 1323 | return super.touchDown(x, y, pointer, button); |
| 1324 | } |
| 1325 | |
| 1326 | @Override |
| 1327 | public boolean press(float x, float y) { |
no test coverage detected