Skip to content

Commit

Permalink
move developerAccordionBox to center-top, #163
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed May 7, 2024
1 parent c550659 commit 708392c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/view/FELScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ export default class FELScreenView extends ScreenView {
this.resetAllButton.bottom = visibleBounds.maxY - FELConstants.SCREEN_VIEW_Y_MARGIN;
} );

// Developer accordion box in the left top corner of the visible bounds.
// Developer accordion box at center-top of the visible bounds.
Multilink.multilink( [ this.visibleBoundsProperty, options.developerAccordionBox.boundsProperty ],
( visibleBounds, developerAccordionBoxBounds ) => {
options.developerAccordionBox.left = visibleBounds.left + FELConstants.SCREEN_VIEW_X_MARGIN;
options.developerAccordionBox.centerX = visibleBounds.centerX + FELConstants.SCREEN_VIEW_X_MARGIN;
options.developerAccordionBox.top = visibleBounds.top + FELConstants.SCREEN_VIEW_Y_MARGIN;
} );

Expand Down

0 comments on commit 708392c

Please sign in to comment.