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

Floating anchor point #24

Closed
sindrel opened this issue Sep 12, 2023 · 0 comments · Fixed by #26
Closed

Floating anchor point #24

sindrel opened this issue Sep 12, 2023 · 0 comments · Fixed by #26
Labels
enhancement New feature or request

Comments

@sindrel
Copy link
Owner

sindrel commented Sep 12, 2023

Some long-lived diagrams might experience odd placement of objects on import.

Possibly because the anchor point in an Excalidraw diagram is determined based on the first element added to the canvas. If the first item is removed, and other parts of the diagram are kept, then the horizontal and vertical placement of the remaining objects will probably remain relative to the anchor point. This could cause odd placement of objects on import.

A horizontal and vertical offset should be added to objects in such cases, so that top-left objects are always placed in the top-left post conversion.

A workaround in such cases is to use "Select All" in Gliffy to grab all objects and drag them back onto the canvas.

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

Successfully merging a pull request may close this issue.

1 participant