| | |
| | | import WebSocketClient from './websocket' |
| | | import ConfirmButton from "../page/components/ConfirmButton"; |
| | | import { FitScreen } from '@mui/icons-material'; |
| | | |
| | | import MapSearch from "./header/MapSearch"; |
| | | |
| | | let player; |
| | | let websocket; |
| | |
| | | boxShadow: theme.shadows[1], |
| | | }} |
| | | > |
| | | <TextField |
| | | <MapSearch |
| | | mode={mode} |
| | | setMode={setMode} |
| | | curZone={curZone} |
| | | setSpriteSettings={setSpriteSettings} |
| | | /> |
| | | {/* <TextField |
| | | variant="outlined" |
| | | size="small" |
| | | placeholder="搜索..." |
| | |
| | | backgroundColor: theme.palette.background.paper, |
| | | borderRadius: 1, |
| | | }} |
| | | /> |
| | | /> */} |
| | | <Box sx={{ flexGrow: 1 }} /> |
| | | |
| | | {mode === MAP_MODE.OBSERVER_MODE && ( |