Prevent changing tabs in Deck Editor from left/right swipe

This commit is contained in:
drdev
2015-04-25 19:43:29 +00:00
parent 4b7b38506e
commit 2d6bf27b0f

View File

@@ -547,6 +547,11 @@ public class FDeckEditor extends TabPageScreen<FDeckEditor> {
}
protected abstract void initialize();
@Override
public boolean fling(float velocityX, float velocityY) {
return false; //prevent left/right swipe to change tabs since it doesn't play nice with item managers
}
}
protected static abstract class CardManagerPage extends DeckEditorPage {