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

增加工作区宽高cm/mm单位支持 #350

Open
ijry opened this issue Apr 28, 2024 · 4 comments
Open

增加工作区宽高cm/mm单位支持 #350

ijry opened this issue Apr 28, 2024 · 4 comments

Comments

@ijry
Copy link
Contributor

ijry commented Apr 28, 2024

类似这样的
image
可以参考https://github.com/haixin-fang/vue-design-editor/blob/12106acbe975efe38da66db2981461db8c9566a6/src/core/WorkareaHandler.ts#L162

本来想提个PR,但是不太熟悉WorkspacePlugin和sizeChange相关影响范围。

@nihaojob
Copy link
Member

nihaojob commented May 6, 2024

感谢的反馈,fabric提供了修改单位的方法,可以尝试一下

@ijry
Copy link
Contributor Author

ijry commented May 6, 2024

设计到标尺同步还得,感觉有点麻烦。

@nihaojob
Copy link
Member

nihaojob commented Jun 4, 2024

设计到标尺同步还得,感觉有点麻烦。

标尺可以先忽略哈

@nihaojob
Copy link
Member

nihaojob commented Jun 4, 2024

image

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

2 participants