@@ -927,7 +927,7 @@ var Mouse = require('../core/Mouse');
927927 // render a single axis indicator
928928 c . moveTo ( part . position . x , part . position . y ) ;
929929 c . lineTo ( ( part . vertices [ 0 ] . x + part . vertices [ part . vertices . length - 1 ] . x ) / 2 ,
930- ( part . vertices [ 0 ] . y + part . vertices [ part . vertices . length - 1 ] . y ) / 2 ) ;
930+ ( part . vertices [ 0 ] . y + part . vertices [ part . vertices . length - 1 ] . y ) / 2 ) ;
931931 }
932932 }
933933 }
@@ -1227,9 +1227,9 @@ var Mouse = require('../core/Mouse');
12271227
12281228 var region = bucketId . split ( / C | R / ) ;
12291229 c . rect ( 0.5 + parseInt ( region [ 1 ] , 10 ) * grid . bucketWidth ,
1230- 0.5 + parseInt ( region [ 2 ] , 10 ) * grid . bucketHeight ,
1231- grid . bucketWidth ,
1232- grid . bucketHeight ) ;
1230+ 0.5 + parseInt ( region [ 2 ] , 10 ) * grid . bucketHeight ,
1231+ grid . bucketWidth ,
1232+ grid . bucketHeight ) ;
12331233 }
12341234
12351235 c . lineWidth = 1 ;
@@ -1276,7 +1276,7 @@ var Mouse = require('../core/Mouse');
12761276 bounds = item . bounds ;
12771277 context . beginPath ( ) ;
12781278 context . rect ( Math . floor ( bounds . min . x - 3 ) , Math . floor ( bounds . min . y - 3 ) ,
1279- Math . floor ( bounds . max . x - bounds . min . x + 6 ) , Math . floor ( bounds . max . y - bounds . min . y + 6 ) ) ;
1279+ Math . floor ( bounds . max . x - bounds . min . x + 6 ) , Math . floor ( bounds . max . y - bounds . min . y + 6 ) ) ;
12801280 context . closePath ( ) ;
12811281 context . stroke ( ) ;
12821282
@@ -1310,7 +1310,7 @@ var Mouse = require('../core/Mouse');
13101310 bounds = inspector . selectBounds ;
13111311 context . beginPath ( ) ;
13121312 context . rect ( Math . floor ( bounds . min . x ) , Math . floor ( bounds . min . y ) ,
1313- Math . floor ( bounds . max . x - bounds . min . x ) , Math . floor ( bounds . max . y - bounds . min . y ) ) ;
1313+ Math . floor ( bounds . max . x - bounds . min . x ) , Math . floor ( bounds . max . y - bounds . min . y ) ) ;
13141314 context . closePath ( ) ;
13151315 context . stroke ( ) ;
13161316 context . fill ( ) ;
0 commit comments