Skip to content

Commit

Permalink
Merge pull request #20304 from ribeirompl/ribeirompl-patch-1
Browse files Browse the repository at this point in the history
feat(dataZoom): change moveHandler cursor icon to move
  • Loading branch information
Ovilia authored Sep 4, 2024
2 parents d2eba0f + 7fe6fa2 commit ce7c122
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/chart/gauge/GaugeView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ class GaugeView extends ChartView {
r: r
}
});
isOverlap && (progress.z2 = maxVal - (data.get(valueDim, idx) as number) % maxVal);
isOverlap && (progress.z2 = linearMap(data.get(valueDim, idx) as number, [minVal, maxVal], [100, 0], true));
return progress;
}

Expand Down
2 changes: 1 addition & 1 deletion src/component/dataZoom/SliderZoomView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ class SliderZoomView extends DataZoomView {

actualMoveZone.attr({
draggable: true,
cursor: getCursor(this._orient),
cursor: 'default',
drift: bind(this._onDragMove, this, 'all'),
ondragstart: bind(this._showDataInfo, this, true),
ondragend: bind(this._onDragEnd, this),
Expand Down

0 comments on commit ce7c122

Please sign in to comment.