Skip to content

Commit

Permalink
Adjust time control postion on Sampling screen - see #7
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-blackman committed Feb 15, 2024
1 parent 4351e93 commit bb4fb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/sampling/view/SamplingScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default class SamplingScreenView extends PDLScreenView<SamplingField> {
// Position the time control node so that it is right-aligned underneath the accordion box
ManualConstraint.create( this, [ this.timeControlNode, this.accordionBox.bottomThumbnailNode, this.accordionBox ],
( timeControlNodeProxy, bottomThumbnailNodeProxy, accordionBoxProxy ) => {
timeControlNodeProxy.right = accordionBoxProxy.right - 1;
timeControlNodeProxy.right = accordionBoxProxy.right - 3;
timeControlNodeProxy.top = accordionBoxProxy.bottom + PDLConstants.INTER_PANEL_SPACING + PDLConstants.TIME_CONTROL_MARGIN_TOP;
} );

Expand Down

0 comments on commit bb4fb70

Please sign in to comment.