x = tmpCoords.x;\r
y = tmpCoords.y;\r
if (x > 0 && x < getWidth() && y > 0 && y < getHeight()) {\r
- listSelectedIndex = (int)((getHeight() - y) / itemHeight);\r
+ listSelectedIndex = (int) ((getHeight() - style.listBackground.getTopHeight() - y) / itemHeight);\r
listSelectedIndex = Math.max(0, listSelectedIndex);\r
listSelectedIndex = Math.min(items.length - 1, listSelectedIndex);\r
selectedIndex = listSelectedIndex;\r
new SharedLibraryLoader("../../extensions/gdx-controllers/gdx-controllers-desktop/libs/gdx-controllers-desktop-natives.jar").load("gdx-controllers-desktop");\r
new SharedLibraryLoader("../../gdx/libs/gdx-natives.jar").load("gdx");\r
\r
- GdxTest test = new AnimationTest();\r
- LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();\r
- config.useGL20 = test.needsGL20();\r
- new LwjglApplication(test, config);\r
+ MathUtils.atan2(-6.0E-44f,0f);\r
+// GdxTest test = new AnimationTest();\r
+// LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();\r
+// config.useGL20 = test.needsGL20();\r
+// new LwjglApplication(test, config);\r
}\r
}\r