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 e6f6cdb commit 0848e48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion js/common/view/OperationEntryControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ class OperationEntryControl extends HBox {
baseColor: Color.WHITE,
xMargin: 8,
yMargin: 0,
selectedLineWidth: 2.5
buttonAppearanceStrategyOptions: {
selectedLineWidth: 2.5
}
}
}
);
Expand Down
8 changes: 5 additions & 3 deletions js/generic/view/SingleDualNumberLineSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ class SingleDualNumberLineSelector extends RectangularRadioButtonGroup {
xMargin: 5,
yMargin: 10,
baseColor: 'white',
selectedLineWidth: 2,
deselectedLineWidth: 0.5,
deselectedButtonOpacity: 0.5
buttonAppearanceStrategyOptions: {
selectedLineWidth: 2,
deselectedLineWidth: 0.5,
deselectedButtonOpacity: 0.5
}
}
}, options );

Expand Down

0 comments on commit 0848e48

Please sign in to comment.