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 7baabe2 commit f0dee13
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions js/view/ViewRadioButtonGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ export default class ViewRadioButtonGroup extends RectangularRadioButtonGroup<Ci
touchAreaXDilation: 9,
touchAreaYDilation: 10,
radioButtonOptions: {
baseColor: CCKCConstants.PANEL_COLOR,
cornerRadius: CCKCConstants.CORNER_RADIUS,
xMargin: 8,
yMargin: 11,
baseColor: CCKCConstants.PANEL_COLOR,
deselectedButtonOpacity: 0.4,
overButtonOpacity: 0.7,
cornerRadius: CCKCConstants.CORNER_RADIUS
buttonAppearanceStrategyOptions: {
deselectedButtonOpacity: 0.4,
overButtonOpacity: 0.7
}
},
tandem: tandem
}, providedOptions );
Expand Down

0 comments on commit f0dee13

Please sign in to comment.