From d2d7c89ee21d9b24bea875e4a3110c304b9ea18b Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 24 Feb 2022 11:17:56 -0700 Subject: [PATCH] self options defaults to providedOptions instead of {}, and add {} as self options in usages, https://github.com/phetsims/phet-core/issues/105 --- js/common/view/RatioHandNode.ts | 4 ++-- js/common/view/TickMarkViewRadioButtonGroup.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/common/view/RatioHandNode.ts b/js/common/view/RatioHandNode.ts index 1a2fa8e4..ffaa578b 100644 --- a/js/common/view/RatioHandNode.ts +++ b/js/common/view/RatioHandNode.ts @@ -250,7 +250,7 @@ class FilledInHandPath extends Path { constructor( providedOptions?: PathOptions ) { - const options = optionize( { + const options = optionize( { stroke: 'black', lineWidth: 2 }, providedOptions ); @@ -273,7 +273,7 @@ class CutOutHandPath extends Path { constructor( providedOptions?: PathOptions ) { - const options = optionize( { + const options = optionize( { stroke: 'black', lineWidth: 2 }, providedOptions ); diff --git a/js/common/view/TickMarkViewRadioButtonGroup.ts b/js/common/view/TickMarkViewRadioButtonGroup.ts index a27cbce2..edfab35f 100644 --- a/js/common/view/TickMarkViewRadioButtonGroup.ts +++ b/js/common/view/TickMarkViewRadioButtonGroup.ts @@ -97,7 +97,7 @@ class NumberedTickMarksIconPath extends Path { constructor( providedOptions?: PathOptions ) { - const options = optionize( { + const options = optionize( { fill: 'black', scale: ICON_SCALE }, providedOptions ); @@ -128,7 +128,7 @@ class TickMarksIconPath extends Path { constructor( providedOptions?: PathOptions ) { - const options = optionize( { + const options = optionize( { fill: 'black', scale: ICON_SCALE }, providedOptions );