Hi.
I was wondering what is the best way to constrain proportions when resizing images using all the drag-handles, not just the drag-handles that appears on the corners of the image, but also the ones on the sides and top.
I have a working solution now, which listens for the OnSelectionChange event and resizes all images in the EditorWindow when triggered, but this is not very elegant. Also the event is not triggered until after the image has lost its focus.
Any help would be greatly appreciated.
I was wondering what is the best way to constrain proportions when resizing images using all the drag-handles, not just the drag-handles that appears on the corners of the image, but also the ones on the sides and top.
I have a working solution now, which listens for the OnSelectionChange event and resizes all images in the EditorWindow when triggered, but this is not very elegant. Also the event is not triggered until after the image has lost its focus.
Any help would be greatly appreciated.