axmol/extensions/GUI
Daniele Di Bernardo 7a36a57aff Fixed inertial scrolling for `CCScrollView`
The inertial scrolling in `CCScrollView` usually works only if you're using the `Direction::BOTH` direction, and if there's enough scrolling space *both* on the X and the Y axis. But when you use the `Direction::HORIZONTAL` or `Direction::VERTICAL` directions you usually have 0px of available space on the Y or X axis respectively, so it won't work.
This change enables you to scroll the view just on the X or on the Y axis using `Direction::HORIZONTAL` or `Direction::VERTICAL` and to use the inertial scroll accordingly.
2015-07-08 10:03:03 +02:00
..
CCControlExtension Optimize Vec2 2015-04-19 20:40:52 +03:00
CCScrollView Fixed inertial scrolling for `CCScrollView` 2015-07-08 10:03:03 +02:00