File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ module.exports = function draw(gd, id) {
254254
255255 cbAxisOut . _axislayer = container . select ( '.cbaxis' ) ;
256256 var titleHeight = 0 ;
257- if ( [ 'top' , 'bottom' ] . indexOf ( opts . titleside ) !== - 1 ) {
257+ if ( [ 'top' , 'bottom' ] . indexOf ( opts . titleside ) !== - 1 ) {
258258 // draw the title so we know how much room it needs
259259 // when we squish the axis
260260 Titles . draw ( gd , cbAxisOut . _id + 'title' ) ;
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ Titles.draw = function(gd, title) {
244244 avoid . selection . each ( function ( ) {
245245 var avoidbb = Drawing . bBox ( this ) ;
246246
247- if ( Lib . bBoxIntersect ( titlebb , avoidbb , pad ) ) {
247+ if ( Lib . bBoxIntersect ( titlebb , avoidbb , pad ) ) {
248248 shift = Math . max ( shift , shiftSign * (
249249 avoidbb [ avoid . side ] - titlebb [ backside ] ) + pad ) ;
250250 }
You can’t perform that action at this time.
0 commit comments