Skip to content

Commit

Permalink
Adjustments to corner radii as specified in #139 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Jan 27, 2020
1 parent ddbbac5 commit cdbf5e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions js/common/BAMConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ define( require => {
TEXT_MAX_WIDTH: 200,
BUTTON_PADDING: 5, // vertical space between molecule and name/buttons
RESET_BUTTON_RADIUS: 27,
CORNER_RADIUS: 4,
KIT_VIEW_HEIGHT: 148, // empirically determined as the height of the tallest bucket of atoms
KIT_VIEW_WIDTH: 655, // empirically determined as the width of the kit panel,

Expand Down
2 changes: 1 addition & 1 deletion js/common/view/AllFilledDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ define( require => {
stroke: 'black',
fill: BAMConstants.COMPLETE_BACKGROUND_COLOR,
center: new Vector2( 0, 0 ),
cornerRadius: 0
cornerRadius: BAMConstants.CORNER_RADIUS
}, options );
const contentVBox = new VBox( { spacing: 5, align: 'center' } );

Expand Down
2 changes: 1 addition & 1 deletion js/common/view/CollectionPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ define( require => {
constructor( kitCollectionList, isSingleCollectionMode, collectionAttachmentCallbacks, toModelBounds,
showDialogCallback, updateRefillButton, options ) {
options = merge( {
cornerRadius: 0
cornerRadius: BAMConstants.CORNER_RADIUS
}, options );
const layoutNode = new VBox( { spacing: 10 } );
super( layoutNode, options );
Expand Down

0 comments on commit cdbf5e4

Please sign in to comment.