Skip to content

Commit

Permalink
Apply WebStorm formatting, see phetsims/phet-info#155
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 26, 2021
1 parent 433f7fc commit a280d6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/common/model/Kit.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ class Kit {
} );

// if our closest bond is too far and our atoms don't overlap, then ignore it
const isBondingInvalid = (bestBondingOption === null || bestDistanceFromIdealPosition > Kit.bondDistanceThreshold) && !atomsOverlap;
const isBondingInvalid = ( bestBondingOption === null || bestDistanceFromIdealPosition > Kit.bondDistanceThreshold ) && !atomsOverlap;

if ( isBondingInvalid ) {
this.separateMoleculeDestinations();
Expand Down
4 changes: 2 additions & 2 deletions js/common/view/MoleculeBondNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ class MoleculeBondNode extends Node {
cutTargetNode.addChild( new Circle( bondRadius, {
fill: 'rgb(253,225,49)',
stroke: 'rgb(253,225,49)',
cursor: openCursor ,
cursor: openCursor,
visible: true
} ) );

// Add outer circle
cutTargetNode.addChild( new Circle( bondRadius * 1.5, {
fill: 'rgba(253,225,49,0.4)',
cursor: openCursor ,
cursor: openCursor,
visible: true
} ) );

Expand Down

0 comments on commit a280d6a

Please sign in to comment.