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

Drag & drop new components are not centered on the mouse position #216

Open
viennem opened this issue Aug 18, 2023 · 0 comments
Open

Drag & drop new components are not centered on the mouse position #216

viennem opened this issue Aug 18, 2023 · 0 comments
Labels
Bug Something isn't working

Comments

@viennem
Copy link
Member

viennem commented Aug 18, 2023

Describe the bug

After adding a new component with drag & drop from the ComponentDefinitionsDrawer: the mouse position is in the top left corner of the new component (x=0, y=0), but it should be in the center of the new component instead.

To Reproduce

quUn8srPPv.mp4

Application

  • leto-modelizer commit hash: f59e63e9d861fb5d0f0849dc7983be3a76bd779a.
  • leto-modelizer-plugin-core version: #0.19.0.
@viennem viennem added the Bug Something isn't working label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant