!184 fix: 左侧刻度尺错位问题

Merge pull request !184 from daidai/dev
This commit is contained in:
奔跑的面条 2023-07-21 06:59:15 +00:00 committed by Gitee
commit 97e5d985bd

View File

@ -290,7 +290,6 @@ window.onKeySpacePressHold = (isHold: boolean) => {
<style lang="scss" scoped>
@include go('sketch-rule') {
position: relative;
overflow: hidden;
width: 100%;
height: 100%;
@ -341,7 +340,7 @@ window.onKeySpacePressHold = (isHold: boolean) => {
.canvas {
position: absolute;
top: 50%;
top:50%;
left: 50%;
transform-origin: 50% 0;
transform: translateY(-50%);