Commit 34a5b475 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix unexpected extent

parent e072a950
......@@ -1481,7 +1481,9 @@
updateSizes();
updateScales();
// Set x for brush again because of scale update
brush.x(subX).extent(x.domain());
brush.x(subX);
// Update extent width if extent specified
if ( ! brush.empty()) brush.extent(x.domain());
// Set x for zoom again because of scale update
if (__zoom_enabled) zoom.x(x);
// Update sizes
......
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