Skip to content

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

Description

@viennem

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions