Commit 7a709da5 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Set cursor style ew-resize when zoom enabled

parent 1f10d96a
......@@ -927,6 +927,7 @@
.attr('width', width)
.attr('height', height)
.style('opacity', 0)
.style('cursor', 'ew-resize')
.call(zoom).on("dblclick.zoom", null);
}
......@@ -994,6 +995,7 @@
main.select('.chart').append("g")
.attr("class", "event-rects")
.style('fill-opacity', 0)
.style('cursor', __zoom_enabled ? 'ew-resize' : null)
.selectAll(".event-rects")
.data(data)
.enter().append("rect")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment