fix: 左侧刻度尺错位问题

This commit is contained in:
刘嘉威 2023-07-20 14:28:31 +08:00
parent 91c4cca62e
commit bb1828b478

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%);