Comments (2)
See, it can be 0 as well (interestingly, positive 0 instead of negative 0 when on LWJGL2). "Positive or negative" could lead someone to believe the following code is safe, when it would inadvertently report as scrolling up if the user scrolls horizontally (with touchpad, not sure how else):
if (amountY > 0) Gdx.app.log("scroll", "down");
else Gdx.app.log("scroll", "up");
I'm overthinking this, to be fair. Never had a reason to perform that sort of condition check, just stuff like scrollY += amountY
.
from libgdx.github.io.
Changed in 13a5e9c.
from libgdx.github.io.
Related Issues (20)
- Demo page is down HOT 9
- Broken link to play in browser in 'Demos & Tutorials' HOT 1
- Adding document and Wiki translations HOT 5
- [Wiki] Using libGDX with Scala HOT 2
- Licence? HOT 4
- Link to 3D video tutorials
- Versions page to be updated HOT 2
- incorrect package name HOT 1
- Default web project fails to run HOT 3
- GWT Alternatives for HTML5 Target HOT 3
- The "Getting Start: Project Generation" page uses a deprecated tool (gdx-setup) HOT 8
- Add List of Easter Eggs and Theme to 29th Jam page
- My first game HOT 2
- THIS WIKI IS BOOTY, READ MY SUGGESTION. HOT 2
- Versions page is or will be outdated HOT 10
- JDK Versions section could be partly adjusted to refer to Java language levels rather than JDK versions HOT 2
- ANGLE documentation
- Warnings in dark theme not readable
- Bullet Wrapper compilation outdated documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libgdx.github.io.