Skip to content
Snippets Groups Projects
Commit 7cac2c8e authored by Drahomír Karchňák's avatar Drahomír Karchňák
Browse files

#58 Code Refactoring before merging w/ devel

parent ffdc7112
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,6 @@ import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.badlogic.gdx.scenes.scene2d.utils.ActorGestureListener;
import com.badlogic.gdx.utils.Array;
import cz.nic.tablexia.Tablexia;
import cz.nic.tablexia.TablexiaSettings;
/**
......@@ -44,13 +43,10 @@ public class ViewPager extends ScrollPane {
private void setup() {
content = new Table();
super.setWidget(content);
content.setDebug(TablexiaSettings.getInstance().isShowBoundingBoxes());
content.setSize(100, 100);
content.defaults().space(0);
//setClamp(false);
setScrollingDisabled(false, true);
super.setWidget(content);
setScrollingDisabled(false, true);
setFlingTime(0.0f);
//Do not disable content's input when View is being scrolled
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment