style : move settings button to eval section
This commit is contained in:
@@ -6,6 +6,7 @@ import LineEvaluation from "./lineEvaluation";
|
|||||||
import { useCurrentMove } from "@/hooks/useCurrentMove";
|
import { useCurrentMove } from "@/hooks/useCurrentMove";
|
||||||
import { LineEval } from "@/types/eval";
|
import { LineEval } from "@/types/eval";
|
||||||
import { EngineName } from "@/types/enums";
|
import { EngineName } from "@/types/enums";
|
||||||
|
import EngineSettingsButton from "@/sections/engineSettings/engineSettingsButton";
|
||||||
|
|
||||||
export default function ReviewPanelBody() {
|
export default function ReviewPanelBody() {
|
||||||
const linesNumber = useAtomValue(engineMultiPvAtom);
|
const linesNumber = useAtomValue(engineMultiPvAtom);
|
||||||
@@ -41,6 +42,15 @@ export default function ReviewPanelBody() {
|
|||||||
item
|
item
|
||||||
container
|
container
|
||||||
xs={12}
|
xs={12}
|
||||||
|
justifyContent="space-between"
|
||||||
|
alignItems="center"
|
||||||
|
>
|
||||||
|
<Grid item xs={1} />
|
||||||
|
|
||||||
|
<Grid
|
||||||
|
item
|
||||||
|
container
|
||||||
|
xs
|
||||||
justifyContent="center"
|
justifyContent="center"
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
columnGap={1}
|
columnGap={1}
|
||||||
@@ -55,6 +65,11 @@ export default function ReviewPanelBody() {
|
|||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
|
<Grid item container xs={1} justifyContent="center">
|
||||||
|
<EngineSettingsButton />
|
||||||
|
</Grid>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
{!!bestMove && (
|
{!!bestMove && (
|
||||||
<Grid item xs={12}>
|
<Grid item xs={12}>
|
||||||
<Typography align="center">
|
<Typography align="center">
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import { Grid, Typography } from "@mui/material";
|
|||||||
import GamePanel from "./gamePanel";
|
import GamePanel from "./gamePanel";
|
||||||
import LoadGame from "./loadGame";
|
import LoadGame from "./loadGame";
|
||||||
import AnalyzeButton from "./analyzeButton";
|
import AnalyzeButton from "./analyzeButton";
|
||||||
import EngineSettingsButton from "@/sections/engineSettings/engineSettingsButton";
|
|
||||||
|
|
||||||
export default function ReviewPanelHeader() {
|
export default function ReviewPanelHeader() {
|
||||||
return (
|
return (
|
||||||
@@ -19,15 +18,6 @@ export default function ReviewPanelHeader() {
|
|||||||
item
|
item
|
||||||
container
|
container
|
||||||
xs={12}
|
xs={12}
|
||||||
justifyContent="space-between"
|
|
||||||
alignItems="center"
|
|
||||||
>
|
|
||||||
<Grid item xs={1} />
|
|
||||||
|
|
||||||
<Grid
|
|
||||||
item
|
|
||||||
container
|
|
||||||
xs
|
|
||||||
justifyContent="center"
|
justifyContent="center"
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
columnGap={1}
|
columnGap={1}
|
||||||
@@ -39,9 +29,6 @@ export default function ReviewPanelHeader() {
|
|||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<EngineSettingsButton />
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
<Grid
|
<Grid
|
||||||
item
|
item
|
||||||
container
|
container
|
||||||
|
|||||||
Reference in New Issue
Block a user