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

Local position of a component is not tiled after adding it to a container from the ComponentDetailsPanel #225

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

Comments

@viennem
Copy link
Member

viennem commented Aug 30, 2023

Describe the bug

After adding a component to a container from the ComponentDetailsPanel (without drag & drop), its local position is not updated to fit nicely in the container: its old global position becomes its new local position inside of the container.

image

Instead, it should be repositioned with automatic tiling.

To Reproduce

6ylfhqGtH1.mp4

Application

  • leto-modelizer commit hash: bf29a9d802b57b50ee00c8000f13561f884b00bc.
  • leto-modelizer-plugin-core version: #0.19.0.
@viennem viennem added the Bug Something isn't working label Aug 30, 2023
@viennem viennem changed the title The local position of a component is not reset after adding it to a container from the ComponentDetailsPanel Local position of a component is not reset after adding it to a container from the ComponentDetailsPanel Aug 30, 2023
@viennem viennem changed the title Local position of a component is not reset after adding it to a container from the ComponentDetailsPanel Local position of a component is not tiled after adding it to a container from the ComponentDetailsPanel Aug 30, 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