We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import { App, Rect } from 'leafer-editor' const app = new App({ view: window,editor:{} }) const rect2 = new Rect({ origin: 'center', x:400, y:300, width: 100, height: 100, fill: { type: 'image', url: '/dog.gif', mode: 'stretch', }, editable: true, }) const rect3 = new Rect({ origin: 'center', x:400, y:400, width: 100, height: 100, fill: { type: 'image', url: '/dog.gif', mode: 'stretch', }, editable: true, }) app.tree.add(rect2) app.tree.add(rect3)
The text was updated successfully, but these errors were encountered:
收到,谢谢反馈~
Sorry, something went wrong.
这个也是center带来的问题。正常来说应该是左边缘保持位置不变
已经修复,今天会发个新版本~
No branches or pull requests
The text was updated successfully, but these errors were encountered: