Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve placement of model in curve3D render tab #219

Merged
merged 1 commit into from
Sep 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 25 additions & 24 deletions src/tabs/Curve/3Dcurve_anim_canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,35 @@ State
<div
style={{
display: 'flex',
flexDirection: 'column',
alignContent: 'center',
justifyContent: 'center',
}}
>
<div
style={{
display: 'flex',
marginTop: '10px',
padding: '10px',
flexDirection: 'row',
justifyContent: 'stretch',
alignContent: 'center',
}}
>
{buttons}
{sliders}
<Switch
style={{
marginLeft: '20px',
marginRight: '20px',
marginTop: '10px',
whiteSpace: 'nowrap',
}}
label="Auto Play"
onChange={this.autoPlaySwitchChanged}
checked={this.state.autoPlay}
/>
</div>
<WebGLCanvas
style={{
flexGrow: 1,
Expand All @@ -319,30 +344,6 @@ State
}}
/>
</div>
<div
style={{
display: 'flex',
marginTop: '10px',
padding: '10px',
flexDirection: 'row',
justifyContent: 'stretch',
alignContent: 'center',
}}
>
{buttons}
{sliders}
<Switch
style={{
marginLeft: '20px',
marginRight: '20px',
marginTop: '10px',
whiteSpace: 'nowrap',
}}
label="Auto Play"
onChange={this.autoPlaySwitchChanged}
checked={this.state.autoPlay}
/>
</div>
</>
);
}
Expand Down
Loading