Skip to content

Commit

Permalink
feat: change zoom bar handle cursor to ew-resize (#759)
Browse files Browse the repository at this point in the history
* feat: change zoom bar handle cursor to ew-resize

* Update zoom-bar.ts

Co-authored-by: Eliad Moosavi <[email protected]>
  • Loading branch information
hlyang397 and theiliad authored Aug 25, 2020
1 parent 51fe593 commit f1fdab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/components/axes/zoom-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export class ZoomBar extends Component {
.attr("y", 0)
.attr("width", handleWidth)
.attr("height", handleHeight)
.attr("cursor", "pointer")
.attr("cursor", "ew-resize")
.style("display", null); // always display

// handle-bar
Expand Down Expand Up @@ -359,7 +359,7 @@ export class ZoomBar extends Component {
.attr("y", handleYBarDiff)
.attr("width", handleBarWidth)
.attr("height", handleBarHeight)
.attr("cursor", "pointer");
.attr("cursor", "ew-resize");

// Update slider selected area
if (zoombarType === ZoomBarTypes.SLIDER_VIEW) {
Expand Down

0 comments on commit f1fdab0

Please sign in to comment.