add image size on left corner

This commit is contained in:
Qing
2023-03-28 21:24:44 +08:00
parent aba98ca5fa
commit af167a0daa
5 changed files with 35 additions and 4 deletions

View File

@@ -25,6 +25,8 @@ import PESidePanel from './SidePanel/PESidePanel'
import FileManager from './FileManager/FileManager'
import P2PSidePanel from './SidePanel/P2PSidePanel'
import Plugins from './Plugins/Plugins'
import Flex from './shared/Layout'
import ImageSize from './ImageSize/ImageSize'
const Workspace = () => {
const setFile = useSetRecoilState(fileState)
@@ -103,7 +105,10 @@ const Workspace = () => {
{isSD ? <SidePanel /> : <></>}
{isPaintByExample ? <PESidePanel /> : <></>}
{isPix2Pix ? <P2PSidePanel /> : <></>}
<Plugins />
<Flex style={{ position: 'absolute', top: 68, left: 24, gap: 12 }}>
<Plugins />
<ImageSize />
</Flex>
<FileManager
photoWidth={256}
show={showFileManager}