提交 d748462c 编写于 作者: P pah100

improve dataZoom cursor

上级 761eb15e
......@@ -66,6 +66,12 @@ define(function (require) {
*/
this._handleWidth;
/**
* @private
* @type {number}
*/
this._handleHeight;
/**
* @private
*/
......@@ -236,9 +242,7 @@ define(function (require) {
* @private
*/
_getViewExtent: function () {
var extent = [0, this._size[0]];
return extent;
return [0, this._size[0]];
},
_renderBackground : function () {
......@@ -420,7 +424,7 @@ define(function (require) {
strokeNoScale: true
},
rectHover: true,
cursor: 'move',
cursor: this._orient === 'vertical' ? 'ns-resize' : 'ew-resize',
draggable: true,
drift: bind(this._onDragMove, this, handleIndex),
ondragend: bind(this._onDragEnd, this),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册