Browse Source

去掉顶部的toolbar

liwei 1 year ago
parent
commit
85c0a5df0d

+ 1 - 1
src/modules/editor/components/Viewport/Content/index.tsx

@@ -168,7 +168,7 @@ const meatureStyle = css`
   width: 100%;
   height: 100%;
   left: 0;
-  top: 50px;
+  top: 0px;
   z-index: 999;
   pointer-events: none;
 

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

@@ -21,7 +21,7 @@ export default defineUI({
       return (
         <div>
           {
-            <div id="toptoolbar" class={"p-10px h-50px flex items-center justify-between"}>
+            false && <div id="toptoolbar" class={"p-10px h-50px flex items-center justify-between"}>
               <div class="flex-grow flex items-center">
               {
                 toolsLeft.map((item) => {