Skip to content

Commit

Permalink
fix scaling of RightAngleArrow, #57
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jun 26, 2017
1 parent c8bdc0e commit ef45103
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/ohms-law/view/RightAngleArrow.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ define( function( require ) {
// Exponential scaling algorithm. Linear makes the changes too big.
var scale = Math.pow( ( current * 0.1 ), 0.7 );

self.matrix = Matrix3.scale( scale );
self.mutate( options );
self.setScaleMagnitude( scale);
} );

options.tandem = tandem;
Expand Down

0 comments on commit ef45103

Please sign in to comment.