Kiatra / BlizzMove

World of Warcraft add-on to make the default windows movable via drag & drop.
23 stars 9 forks source link

Frames remain stationary based on topleft corner while rescaling #90

Closed Goranaws closed 2 years ago

Goranaws commented 2 years ago

while scaling a frame by holding the CTRL key and mousewheeling, frames stay still, relative to the topleft corner.

Numynum commented 2 years ago

hi, PRs are always welcome of course 🙂 but in the end I felt a different approach would feel more natural

so in the latest version, whenever you move a frame, it sets points based on the nearest edge/corner/center, instead of static topleft which means when you scale, the frame grows outside ⇾ in (unless in the center), which to me feels better 🙂 thanks for the idea and PR though

Goranaws commented 2 years ago

My biggest complaint about your current version is that as you are resizing frames, they tend to drift across the screen and then escape from underneath the mouse. You have to chase down the frames while scaling them.