Skip to content

Commit

Permalink
increase size of close button so that it looks as it did before chang…
Browse files Browse the repository at this point in the history
…es in phetsims/joist#586, see #610
  • Loading branch information
jessegreenberg committed Aug 3, 2020
1 parent b575823 commit 9c9f263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import sunStrings from './sunStrings.js';

// constants
const closeString = sunStrings.a11y.close;
const CLOSE_BUTTON_WIDTH = 14;
const CLOSE_BUTTON_WIDTH = 18.2;
const PopupablePanel = Popupable( Panel );
const applyDoubleMargin = ( dimension, margin ) => dimension > margin * 2 ? dimension - margin * 2 : dimension;

Expand Down Expand Up @@ -448,7 +448,7 @@ function CloseButton( options ) {
options.content = new Path( closeButtonShape, {
stroke: options.pathStroke,
lineCap: 'round',
lineWidth: 2
lineWidth: 2.5
} );

RectangularPushButton.call( this, options );
Expand Down

0 comments on commit 9c9f263

Please sign in to comment.