Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/phetsims/sun
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Oct 5, 2022
2 parents 854e2e6 + d0142f6 commit 70b312f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/buttons/ButtonNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export class FlatAppearanceStrategy {
const lineWidth = typeof options.lineWidth === 'number' ? options.lineWidth : 1;

// If the stroke wasn't provided, set a default.
buttonBackground.stroke = ( typeof ( options.stroke ) === 'undefined' ) ? baseDarker4 : options.stroke;
buttonBackground.stroke = options.stroke || baseDarker4;
buttonBackground.lineWidth = lineWidth;

this.maxLineWidth = buttonBackground.hasStroke() ? lineWidth : 0;
Expand Down

0 comments on commit 70b312f

Please sign in to comment.