Commit f87c7468 authored by zhengke's avatar zhengke

no message

parent 266cf3c8
...@@ -368,7 +368,7 @@ provide(injectKeySlideScale, canvasScale) ...@@ -368,7 +368,7 @@ provide(injectKeySlideScale, canvasScale)
.canvas { .canvas {
height: 100%; height: 100%;
user-select: none; user-select: none;
overflow: hidden; /* overflow: hidden; */
background-color: $lightGray; background-color: $lightGray;
position: relative; position: relative;
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<Thumbnails class="layout-content-left" /> <Thumbnails class="layout-content-left" />
<div class="layout-content-center" style="overflow: hidden;"> <div class="layout-content-center" style="overflow: hidden;">
<CanvasTool class="center-top" /> <CanvasTool class="center-top" />
<div style="height: 883px;overflow: auto;"> <div style="height: 873px;overflow: scroll;">
<!-- <Canvas class="center-body" :style="{ height: `calc(100% - 40px)`}" /> --> <!-- <Canvas class="center-body" :style="{ height: `calc(100% - 40px)`}" /> -->
<Canvas class="center-body" :style="{ height: viewportRatio<1?'calc(1240px - 40px)':'calc(1754px - 40px)'}" /> <Canvas class="center-body" :style="{ height: viewportRatio<1?'calc(1240px - 40px)':'calc(1754px - 40px)'}" />
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment