SC.ScrollView:
- Improves scrolling performance with requestAnimationFrame.
- Implements touch kinetic scrolling and scaling. Working on #1267. (A number of bugs and bounce-curve improvements remain to be made.)
- Improves SC.Touch documentation.
- Adds a number of new SC.ScrollView properties to control various aspects of touch scrolling (e.g. direction scroll tolerances and locks).
- Cleans up old touch-scrolling methods from SC.CollectionView, SC.ScrollerView and SC.MenuScrollView.
Updates for existing SC.ScrollView unit tests.
- Fixes responder chain bug that was preventing the content view from ever getting a swing at touch events.
- Fixes a ScrollView bug where child view tiling was failing to trigger min/max recalculations when it caused a container view resize.
- A number of unit tests were failing because SC.ScrollView now updates its layer asynchronously. Fixed these by cheating and triggering the update synchronously.
Fixes two SC.ListView unit tests that were secretly SC.ScrollView integration tests.
Fixes SC.ScrollView scale test timeouts.
SC.ScrollView: Adds unit tests for several new features.
Delints SC.ScrollView and SC.RootResponder per JSHint.
Hacks in a fix for a bug where LayoutStyleCalculator would override ScrollView content view scroll transforms.
Final variable documentation and name tweaks.
Fixes a couple of ScrollView bugs:
- Fixes a bug where min/max scroll offsets would be out of date during touch scaling.
- Fixes a bug where the scroll view would occasionally jump around for no reason when scaling.
Fixes SC.ScrollView bug where pinching in very small would cause erratic positioning of the content.
Fixes bug with touchCancelled proxying which was introduced in the previous commit.
Fixes a bug with external manipulation of SC.ScrollView's scale on touch devices.
Fixes a number of SC.ScrollView bugs.
- Scroller max values now update during touch scaling.
- Bouncing back from out-of-bounds scales now position correctly.
- Views can now animate back along an axis whose canScroll property is false.
- Handling of subsequent touches after the initial one is captured by the content is improved.
SC.ScrollView touch scaling:
- Fixes a bug where the center of a scale gesture was being miscalculated.
- Improves unit test coverage for touch gestures and touch scaling.
Adds unit test to demonstrate bug with adding and removing touches from a SC.ScrollView pinch-scale gesture.
Minor comment tidy.
Prevents mousewheel events from jumping the slider while the mouse is pressed (i.e. for dragging). Certain mice have a very jittery wheel event (i.e. the Apple Magic Mouse) that results in wheel events firing while the user is trying to drag a slider.
Minor updates to comments and removal of debug only code from production builds.
Removes hack.
Fix ups to Scroll view tests.