From a724b95cb2f973720c7595c1f45622de2863ea7c Mon Sep 17 00:00:00 2001 From: jbphet Date: Thu, 21 Jul 2022 11:14:39 -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/common/view/NumberLineOrientationSelector.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/js/common/view/NumberLineOrientationSelector.js b/js/common/view/NumberLineOrientationSelector.js index f424561..8003360 100644 --- a/js/common/view/NumberLineOrientationSelector.js +++ b/js/common/view/NumberLineOrientationSelector.js @@ -56,9 +56,11 @@ class NumberLineOrientationSelector extends RectangularRadioButtonGroup { xMargin: 5, yMargin: 5, baseColor: 'white', - selectedLineWidth: 2, - deselectedLineWidth: 0.5, - deselectedButtonOpacity: 0.25 + buttonAppearanceStrategyOptions: { + selectedLineWidth: 2, + deselectedLineWidth: 0.5, + deselectedButtonOpacity: 0.25 + } } }, options ) ); }