Skip to content

Commit

Permalink
fix lint errors caused by bad-sim-text.js, phetsims/chipper#736
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Malley <[email protected]>
  • Loading branch information
pixelzoom committed Jan 24, 2019
1 parent a15d7f4 commit b97cfbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/demo/ui-components/view/UIComponentsScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ define( function( require ) {
const tambo = require( 'TAMBO/tambo' );
const Text = require( 'SCENERY/nodes/Text' );
const TextPushButton = require( 'SUN/buttons/TextPushButton' );
const Util = require( 'DOT/Util' );
const VBox = require( 'SCENERY/nodes/VBox' );

// constants
Expand Down Expand Up @@ -64,7 +65,7 @@ define( function( require ) {
left: 115,
top: 115,
constrainValue: function( value ) {
return Math.round( value );
return Util.roundSymmetric( value );
},
keyboardStep: 1
} );
Expand Down

0 comments on commit b97cfbb

Please sign in to comment.