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

Alignment of rotated shapes does not work as intended #57

Open
o485 opened this issue Nov 27, 2024 · 4 comments
Open

Alignment of rotated shapes does not work as intended #57

o485 opened this issue Nov 27, 2024 · 4 comments

Comments

@o485
Copy link

o485 commented Nov 27, 2024

Describe the bug
Alignment tools do not correctly align rotated shapes

To Reproduce
Steps to reproduce the behavior:

  1. Align a rotated shape

Expected behavior
Alignment on extremity of shape in the coordinate system of the slide (and not in the rotated coordinate system of the shape)

Screenshots
image
These two shapes have been top aligned with Instrumenta

Desktop (please complete the following information):

  • OS: Windows
@o485
Copy link
Author

o485 commented Nov 27, 2024

There are also similar bugs with the subs that resize elements, e.g. "Set same height", etc

@o485
Copy link
Author

o485 commented Nov 27, 2024

This bug only happens when the alignment and/or transformation method in the settings is set to first or last shape

@o485
Copy link
Author

o485 commented Dec 10, 2024

I'm working on a fix for this in my branch. The alignment is now behaving as expected, I'll create a pull request once I also fix the resizing.

@o485
Copy link
Author

o485 commented Dec 18, 2024

I've added a pull request with the changes to resolve this bug: pull request

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

No branches or pull requests

1 participant