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 0a5b58a commit 1770e52
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions js/common/view/AreaModelCommonRadioButtonGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ class AreaModelCommonRadioButtonGroup extends RectangularRadioButtonGroup {
touchAreaXDilation: 6,
touchAreaYDilation: 6,
radioButtonOptions: {
baseColor: AreaModelCommonColors.radioBackgroundProperty,
xMargin: 10,
yMargin: 10,
selectedLineWidth: 2,
deselectedLineWidth: 1.5,
selectedStroke: AreaModelCommonColors.radioBorderProperty,
baseColor: AreaModelCommonColors.radioBackgroundProperty
buttonAppearanceStrategyOptions: {
selectedLineWidth: 2,
deselectedLineWidth: 1.5,
selectedStroke: AreaModelCommonColors.radioBorderProperty
}
}
}, options ) );
}
Expand Down

0 comments on commit 1770e52

Please sign in to comment.