Commit 48cffd86 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix event rect width when zoomed

parent b8497fc3
...@@ -424,7 +424,6 @@ ...@@ -424,7 +424,6 @@
} }
function getXDomainRatio (isSub) { function getXDomainRatio (isSub) {
var domain, extent; var domain, extent;
if (brush.empty()) return 1;
if (isSub) { if (isSub) {
domain = x.domain(); domain = x.domain();
extent = brush.extent(); extent = brush.extent();
......
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