File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ function setHighlight(d) {
78
78
if ( ! d . brush . filterSpecified ) {
79
79
return '0,' + d . height ;
80
80
}
81
+
81
82
var pixelRanges = unitToPx ( d . brush . filter . getConsolidated ( ) , d . height ) ;
82
83
var dashArray = [ 0 ] ; // we start with a 0 length selection as filter ranges are inclusive, not exclusive
83
84
var p , sectionHeight , iNext ;
@@ -270,13 +271,6 @@ function attachDragBehavior(selection) {
270
271
var topViolation = Math . max ( 0 , s . newExtent [ 1 ] - 1 ) ;
271
272
s . newExtent [ 0 ] += bottomViolation ;
272
273
s . newExtent [ 1 ] -= topViolation ;
273
- if ( s . grabbingBar ) {
274
- // in case of bar dragging (non-resizing interaction, unlike north/south resize or new bar creation)
275
- // the constraint adjustment must apply to the other end of the bar as well, otherwise it'd
276
- // shorten or lengthen
277
- s . newExtent [ 1 ] += bottomViolation ;
278
- s . newExtent [ 0 ] -= topViolation ;
279
- }
280
274
281
275
d . brush . filterSpecified = true ;
282
276
s . extent = s . stayingIntervals . concat ( [ s . newExtent ] ) ;
You can’t perform that action at this time.
0 commit comments