From a5f887bc1e7f40fef3c401d30825aa22ae9a281c Mon Sep 17 00:00:00 2001 From: jbphet Date: Thu, 21 Jul 2022 11:16:25 -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/faradays-law/view/ControlPanelNode.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/faradays-law/view/ControlPanelNode.js b/js/faradays-law/view/ControlPanelNode.js index 75852f2..177a2b5 100644 --- a/js/faradays-law/view/ControlPanelNode.js +++ b/js/faradays-law/view/ControlPanelNode.js @@ -108,8 +108,10 @@ class ControlPanelNode extends Node { xMargin: 20, yMargin: 4, baseColor: '#cdd5f6', // lavender-ish - selectedLineWidth: 3, - deselectedLineWidth: 1 + buttonAppearanceStrategyOptions: { + selectedLineWidth: 3, + deselectedLineWidth: 1 + } }, left: 377, bottom: 0,