From 2152c0ca1f8046f91b95d6f81304c1539f6206bb Mon Sep 17 00:00:00 2001 From: jbphet Date: Thu, 21 Jul 2022 11:15:35 -0600 Subject: [PATCH] made button appearance options into sub-options for better typing, see https://github.com/phetsims/chipper/issues/1253, https://github.com/phetsims/sun/issues/754, and https://github.com/phetsims/sun/issues/772 --- js/lab/view/LabShapePanel.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/js/lab/view/LabShapePanel.js b/js/lab/view/LabShapePanel.js index 0a267e8..bbc4d04 100644 --- a/js/lab/view/LabShapePanel.js +++ b/js/lab/view/LabShapePanel.js @@ -81,11 +81,13 @@ class LabShapePanel extends Panel { touchAreaXDilation: 5, touchAreaYDilation: 2.5, radioButtonOptions: { + baseColor: FractionsCommonColors.radioBaseProperty, xMargin: 6, yMargin: 6, - selectedLineWidth: 2, - selectedStroke: FractionsCommonColors.radioStrokeProperty, - baseColor: FractionsCommonColors.radioBaseProperty + buttonAppearanceStrategyOptions: { + selectedLineWidth: 2, + selectedStroke: FractionsCommonColors.radioStrokeProperty + } } } );