Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小尺寸画布添加元素,比例问题 #125

Open
marysyy1101 opened this issue Apr 11, 2024 · 0 comments
Open

小尺寸画布添加元素,比例问题 #125

marysyy1101 opened this issue Apr 11, 2024 · 0 comments

Comments

@marysyy1101
Copy link

你好,按照现有逻辑,默认画布适应屏幕,会出现小画布添加元素时,元素在屏幕上显示比例过大的问题,如下图
image
image

我的处理:
在zoomControl中加个判断,当中间workspace宽度小于编辑区域宽度时,默认zoom为100%

if(dPage.value.width < dScreen.value.width) { 
      activezoomIndex.value = 3
    }

不知道有没有其他的处理方案

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant