diff --git a/CHANGES.md b/CHANGES.md index 96bdf204acb0..c796e5d85259 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ Change Log * Fixed billboard rotation when sized in meters. [#3979](https://github.com/AnalyticalGraphicsInc/cesium/issues/3979) * Added `DebugCameraPrimitive` to visualize the view frustum of a camera. +* Fixed touch events for the timeline [#4305](https://github.com/AnalyticalGraphicsInc/cesium/pull/4305) ### 1.25 - 2016-09-01 diff --git a/Source/Widgets/Timeline/Timeline.js b/Source/Widgets/Timeline/Timeline.js index 32eef7c42fca..4521a69d65a4 100644 --- a/Source/Widgets/Timeline/Timeline.js +++ b/Source/Widgets/Timeline/Timeline.js @@ -702,9 +702,9 @@ define([ var len = e.touches.length, leftX = timeline._topDiv.getBoundingClientRect().left; if (timeline._touchMode === timelineTouchMode.singleTap) { timeline._touchMode = timelineTouchMode.scrub; - timeline._handleTouchMove(e); + timeline._onTouchMove(e); } else if (timeline._touchMode === timelineTouchMode.scrub) { - timeline._handleTouchMove(e); + timeline._onTouchMove(e); } timeline._mouseMode = timelineMouseMode.touchOnly; if (len !== 1) { @@ -790,4 +790,4 @@ define([ }; return Timeline; -}); +}); \ No newline at end of file