File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -812,7 +812,8 @@ proto.updateMainDrag = function(fullLayout) {
812
812
var cpath ;
813
813
814
814
if ( clampAndSetR0R1 ( rr0 , rr1 ) ) {
815
- path1 = path0 + _this . pathSector ( r1 ) + _this . pathSector ( r0 ) ;
815
+ path1 = path0 + _this . pathSector ( r1 ) ;
816
+ if ( r0 ) path1 += _this . pathSector ( r0 ) ;
816
817
// keep 'starting' angle
817
818
cpath = pathCorner ( r0 , a0 ) + pathCorner ( r1 , a0 ) ;
818
819
}
@@ -837,7 +838,8 @@ proto.updateMainDrag = function(fullLayout) {
837
838
var cpath ;
838
839
839
840
if ( clampAndSetR0R1 ( rr0 , rr1 ) ) {
840
- path1 = path0 + _this . pathSector ( r1 ) + _this . pathSector ( r0 ) ;
841
+ path1 = path0 + _this . pathSector ( r1 ) ;
842
+ if ( r0 ) path1 += _this . pathSector ( r0 ) ;
841
843
// keep 'starting' angle here too
842
844
cpath = [
843
845
pathCornerForPolygons ( r0 , vangles0 [ 0 ] , vangles0 [ 1 ] ) ,
You can’t perform that action at this time.
0 commit comments