Skip to content

Commit

Permalink
simplify last unit text position, #23
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed May 11, 2020
1 parent 24c5681 commit 2ef0ec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/free-objects/view/ProportionGridNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ class ProportionGridNode extends GridNode {

this.visible = GridView.displayVertical( gridView ) || GridView.displayHorizontal( gridView );

this.updateUnitLabels( GridView.displayUnits( gridView ), horizontalSpacing, baseUnit );
this.updateUnitLabels( GridView.displayUnits( gridView ), horizontalSpacing );
}

/**
* @private
* @param {boolean} showGridUnits
* @param {number} horizontalSpacing
*/
updateUnitLabels( showGridUnits, horizontalSpacing, baseUnit ) {
updateUnitLabels( showGridUnits, horizontalSpacing ) {
this.labelsNode.children = [];

if ( showGridUnits ) {
Expand Down

0 comments on commit 2ef0ec0

Please sign in to comment.