Skip to content

Commit 3e530c7

Browse files
authored
Merge pull request #4305 from AnalyticalGraphicsInc/fix-timeline-touch
Fix timeline touch
2 parents a81f2e7 + d324e14 commit 3e530c7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Change Log
55

66
* Fixed billboard rotation when sized in meters. [#3979](https://github.com/AnalyticalGraphicsInc/cesium/issues/3979)
77
* Added `DebugCameraPrimitive` to visualize the view frustum of a camera.
8+
* Fixed touch events for the timeline [#4305](https://github.com/AnalyticalGraphicsInc/cesium/pull/4305)
89

910
### 1.25 - 2016-09-01
1011

Source/Widgets/Timeline/Timeline.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -702,9 +702,9 @@ define([
702702
var len = e.touches.length, leftX = timeline._topDiv.getBoundingClientRect().left;
703703
if (timeline._touchMode === timelineTouchMode.singleTap) {
704704
timeline._touchMode = timelineTouchMode.scrub;
705-
timeline._handleTouchMove(e);
705+
timeline._onTouchMove(e);
706706
} else if (timeline._touchMode === timelineTouchMode.scrub) {
707-
timeline._handleTouchMove(e);
707+
timeline._onTouchMove(e);
708708
}
709709
timeline._mouseMode = timelineMouseMode.touchOnly;
710710
if (len !== 1) {
@@ -790,4 +790,4 @@ define([
790790
};
791791

792792
return Timeline;
793-
});
793+
});

0 commit comments

Comments
 (0)