move malyan controls next to print button

This commit is contained in:
casperlamboo 2018-01-25 12:17:14 +01:00
parent e091f425a1
commit 109cd0898c

View File

@ -335,13 +335,13 @@ class Interface extends React.Component {
{isSlicing && <p>{progress.action}</p>}
{isSlicing && <LinearProgress mode="determinate" value={progress.percentage * 100.0} />}
</div>
{settings && settings.printer === 'doodle3d_printer' && <MalyanControl ip={settings.ip} />}
<div className={classes.sliceButtons}>
{onCancel && <RaisedButton
label="Cancel"
className={`${classes.button}`}
onTouchTap={onCancel}
/>}
{settings && settings.printer === 'doodle3d_printer' && <MalyanControl ip={settings.ip} />}
<RaisedButton
label="Print"
ref="button"