Aspect-Ratio Resizing bug

martinrobinson's icon

Not sure if this has been noted but I couldn't find a reference to it.

MaxMSP 5.02

Aspect-Ratio Resizing is useful but if your mouse-drag moves outside the patcher window (i.e., to the right) the object gets a nervous twitch. It seems to cycle through a few different heights even once the mouse is brought back within the bounds of the window.

If this bit of Max is done in Juce then I'd suspect a rounding error in the Component::resized and Component::setBounds or setSize methods.