| | |
| | | import * as Http from './http'; |
| | | import WebSocketClient from './websocket' |
| | | import ConfirmButton from "../page/components/ConfirmButton"; |
| | | import { FitScreen, RotateRight } from '@mui/icons-material'; |
| | | import { FitScreen, RotateRight, Flip } from '@mui/icons-material'; |
| | | import MapSearch from "./header/MapSearch"; |
| | | import { startupOrShutdown } from "./http"; |
| | | import PulseSignal from "../page/components/PulseSignal"; |
| | |
| | | color="primary" |
| | | size="small" |
| | | onClick={() => { |
| | | player.flipMapHorizontally(); |
| | | }} |
| | | > |
| | | <Flip /> |
| | | {translate('page.map.action.flip')} |
| | | </Fab> |
| | | <Fab |
| | | variant="extended" |
| | | color="primary" |
| | | size="small" |
| | | onClick={() => { |
| | | player.rotateMap(Math.PI / 2); |
| | | }} |
| | | > |