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

[Feature request]: Lock aspect ratio when resizing object #616

Open
1 task done
yotama9 opened this issue Feb 25, 2024 · 8 comments
Open
1 task done

[Feature request]: Lock aspect ratio when resizing object #616

yotama9 opened this issue Feb 25, 2024 · 8 comments
Assignees
Labels
feature-request A request for a new feature

Comments

@yotama9
Copy link
Contributor

yotama9 commented Feb 25, 2024

Is your feature request related to a problem? Please describe

The requested request is platform independent, but I searched for it only on a smartphone

Describe your feature request!

When selecting an object, there should be an option to lock the aspect ratio when resizing. At the moment this is not the case, and resizing can easily result with deformed objects.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@yotama9 yotama9 added the feature-request A request for a new feature label Feb 25, 2024
@CodeDoctorDE
Copy link
Member

You can need to click again on your selection and the handles gets a different color.
Now you can resize without changing the aspect ratio

@yotama9
Copy link
Contributor Author

yotama9 commented Feb 25, 2024

Hmmm... I did not know that (still have to read the docks). Maybe it would be valuable to add a lock icon?

@CodeDoctorDE
Copy link
Member

I think it isn't mentioned anywhere in the docs. It would be nice if you could contribute it.
Where would you like to have the lock icon? I don't see where I could add it

@yotama9
Copy link
Contributor Author

yotama9 commented Feb 25, 2024

Above the top right corner maybe? Or maybe next to the circle in the middle of the object?

@CodeDoctorDE
Copy link
Member

Top right is a bit random. We already put the rotation circle at the top (see #607 in https://preview.butterfly.linwood.dev). How should this look like? Is there any reference to other apps?

@yotama9
Copy link
Contributor Author

yotama9 commented Feb 25, 2024

Hmmm... I think it should appear inside the selected frame. It makes more sense to me.

The gimp uses a chain (complete/broken) and inkscape is using a lock symbol (closed/open) for (keeping/not keeping) the aspect ratio:
image
image

@CodeDoctorDE
Copy link
Member

But there it isn't inside a canvas. I'm currently not sure if this looks good

@yotama9
Copy link
Contributor Author

yotama9 commented Feb 26, 2024

It is not, that's true. But I still think that there should be some hint about the ability to lock the AR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for a new feature
Projects
Status: 📕 Todo
Development

No branches or pull requests

2 participants