qinyan há 1 ano atrás
pai
commit
aa69ece0c2

+ 6 - 4
src/modules/editor/components/Viewport/Toolbar/index.tsx

@@ -75,8 +75,9 @@ export default defineUI({
             <div
               class={cx(group, "flex items-center p-4px rounded bg-[#262626]")}
             >
-              <IconFit class="text-light-50 text-36px cursor-pointer rounded transition hover:bg-dark-800" 
-               onClick={() => editorCtrl.autoInScreen()}
+              <IconFit
+                class="text-light-50 text-36px cursor-pointer rounded transition hover:bg-dark-800"
+                onClick={() => editorCtrl.autoInScreen()}
               />
               <IconReduce
                 class="text-light-50 text-36px cursor-pointer rounded transition hover:bg-dark-800"
@@ -100,7 +101,7 @@ export default defineUI({
                 }}
               />
             </div>
-            <TipIcons.Move
+            {/* <TipIcons.Move
               class={cx(
                 "p-10px rounded text-18px cursor-pointer transition hover:opacity-70",
                 editorCtrl.state.moveMode
@@ -108,7 +109,7 @@ export default defineUI({
                   : "!text-light-50 bg-[#262626] !hover:(bg-[#262626])"
               )}
               onClick={() => editorCtrl.moveEditor()}
-            />
+            /> */}
             <TipIcons.QueenService
               class={bottomBtnStyles}
               onClick={() => {
@@ -138,6 +139,7 @@ const group = css`
   }
   .inficon {
     margin-right: -36px;
+    line-height: 0;
   }
   .ant-input-number-input {
     height: 36px;