Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
t4sk committed Dec 10, 2018
1 parent 1c481c7 commit 19e17ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/canvas/ui/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ export function draw (ctx: any, props: Props) {
})
}
if (props.showXLabel) {
// TODO remove isDragging
const canvasX = props.mouse.isDragging ? props.mouse.dragStartCanvasX : props.mouse.x
const xMax = props.mouse.isDragging ? props.mouse.dragStartXMax : props.xMax
const xMin = props.mouse.isDragging ? props.mouse.dragStartXMin : props.xMin
Expand Down

0 comments on commit 19e17ff

Please sign in to comment.