logbox uses class to identify drag handle instead of id.

This commit is contained in:
Olivier Gagnon 2021-10-15 13:24:00 -04:00
parent 1d302a0320
commit 79a6c7eb7b

@ -88,7 +88,7 @@ function LogWindow(props: IProps): React.ReactElement {
}
return (
<Draggable handle="#drag">
<Draggable handle=".drag">
<Paper
style={{
display: "flex",
@ -105,7 +105,7 @@ function LogWindow(props: IProps): React.ReactElement {
cursor: "grab",
}}
>
<Box id="drag" display="flex" alignItems="center">
<Box className="drag" display="flex" alignItems="center">
<Typography color="primary" variant="h6">
{props.script.filename} {props.script.args.map((x: any): string => `${x}`).join(" ")}
</Typography>