From 9c9f26324b8635536e8fcacb01f8c634afd5940b Mon Sep 17 00:00:00 2001 From: Jesse Date: Mon, 3 Aug 2020 19:22:26 -0400 Subject: [PATCH] increase size of close button so that it looks as it did before changes in phetsims/joist#586, see phetsims/sun#610 --- js/Dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/Dialog.js b/js/Dialog.js index 2e5e62c7..4d9e3de0 100644 --- a/js/Dialog.js +++ b/js/Dialog.js @@ -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; @@ -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 );