Skip to content

Commit

Permalink
Continue attempting flowbox, see: #3
Browse files Browse the repository at this point in the history
  • Loading branch information
marlitas committed Jun 3, 2022
1 parent 89ff878 commit 70a49ef
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions js/intro/view/IntroScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class IntroScreenView extends MeanShareAndBalanceScreenView {

const modelViewTransform2DCups = ModelViewTransform2.createSinglePointScaleInvertedYMapping( new Vector2( 0, 0 ), new Vector2( 50, MeanShareAndBalanceConstants.CUPS_2D_Y_VALUE ), MeanShareAndBalanceConstants.CUP_HEIGHT );
const modelViewTransform3DCups = ModelViewTransform2.createSinglePointScaleInvertedYMapping( new Vector2( 0, 0 ), new Vector2( 50, MeanShareAndBalanceConstants.CUPS_3D_Y_VALUE ), MeanShareAndBalanceConstants.CUP_HEIGHT );
//TODO text adjustment to work with query param stringTest=long

const predictMeanText = new Text( meanShareAndBalanceStrings.predictMean, { fontSize: 15, maxWidth: 175 } );
const showMeanText = new Text( meanShareAndBalanceStrings.showMean, { fontSize: 15, maxWidth: 175 } );
const tickMarksText = new Text( meanShareAndBalanceStrings.tickMarks, { fontSize: 15, maxWidth: 175 } );
Expand Down Expand Up @@ -118,11 +118,7 @@ export default class IntroScreenView extends MeanShareAndBalanceScreenView {
minContentWidth: 175,
right: this.layoutBounds.maxX - MeanShareAndBalanceConstants.CONTROLS_HORIZONTAL_MARGIN,
top: introOptionsVBox.bottom,
topMargin: 50,
align: 'left',
layoutOptions: {
align: 'left'
}
align: 'left'
} );


Expand Down

0 comments on commit 70a49ef

Please sign in to comment.