mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Prevent changing tabs in Deck Editor from left/right swipe
This commit is contained in:
@@ -547,6 +547,11 @@ public class FDeckEditor extends TabPageScreen<FDeckEditor> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected abstract void initialize();
|
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 {
|
protected static abstract class CardManagerPage extends DeckEditorPage {
|
||||||
|
|||||||
Reference in New Issue
Block a user