feat(tool): eclipse
This commit is contained in:
@@ -180,6 +180,8 @@ const TopTools = (
|
||||
const {
|
||||
isView,
|
||||
setIsView,
|
||||
renderMode,
|
||||
setRenderMode,
|
||||
saveCurrentScale,
|
||||
setSaveCurrentScale,
|
||||
showMultiFrame,
|
||||
@@ -1896,10 +1898,16 @@ const TopTools = (
|
||||
<SquarePen style={{ width: 20, height: 20 }} />
|
||||
</ActionIcon>
|
||||
)}
|
||||
<Eclipse
|
||||
style={{ width: 20, height: 20, display: "none" }}
|
||||
color="gray"
|
||||
/>
|
||||
<Tooltip label={renderMode ? "关闭渲染" : "开启渲染"}>
|
||||
<ActionIcon
|
||||
variant="transparent"
|
||||
c={renderMode ? "var(--mantine-color-text)" : "gray"}
|
||||
onClick={() => {
|
||||
setRenderMode(!renderMode)
|
||||
}}>
|
||||
<Eclipse style={{ width: 20, height: 20 }} />
|
||||
</ActionIcon>
|
||||
</Tooltip>
|
||||
<CopySlash style={{ width: 20, height: 20, display: "none" }} />
|
||||
</Flex>
|
||||
<Flex
|
||||
|
||||
Reference in New Issue
Block a user