Skip to content

Commit

Permalink
made button appearance options into sub-options for better typing, see
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Jul 21, 2022
1 parent f3bb727 commit d9a79b1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions js/common/view/OpticSurfaceTypeRadioButtonGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@ export default class OpticSurfaceTypeRadioButtonGroup extends RectangularRadioBu
touchAreaXDilation: 4,
touchAreaYDilation: 5,
radioButtonOptions: {
cornerRadius: 3,
baseColor: GOColors.curveRadioButtonFillProperty,
selectedStroke: GOColors.curveRadioButtonSelectedStrokeProperty,
deselectedStroke: GOColors.curveRadioButtonDeselectedStrokeProperty,
deselectedLineWidth: 2,
selectedLineWidth: 2,
cornerRadius: 3,
xMargin: 14,
yMargin: 5
yMargin: 5,
buttonAppearanceStrategyOptions: {
selectedStroke: GOColors.curveRadioButtonSelectedStrokeProperty,
deselectedStroke: GOColors.curveRadioButtonDeselectedStrokeProperty,
deselectedLineWidth: 2,
selectedLineWidth: 2
}
}
}, providedOptions );

Expand Down

0 comments on commit d9a79b1

Please sign in to comment.