Skip to main content

Search and Top Navigation

#2406 closed feature (fixed)

Opened February 25, 2008 01:04PM UTC

Closed March 03, 2008 04:08AM UTC

Last modified February 26, 2009 11:31AM UTC

Proportional resizing using the Resizable

Reported by: Anotherhero Owned by: eduardo
Priority: minor Milestone: 1.5
Component: ui.core Version: 1.2.3
Keywords: Resizable proportional Cc:
Blocked by: Blocking:
Description

On line 325 there is

if(e.shiftKey) nh = nw * (p[1]/p[0]);

Could this be replaced with

if(e.shiftKey || o.aspectResize) nh = nw * (p[1]/p[0]);

This allows you to force keeping proportions

Attachments (0)
Change History (5)

Changed February 26, 2008 01:01PM UTC by paul comment:1

owner: paulbraeker

Changed February 29, 2008 12:52PM UTC by Anotherhero comment:2

if(e.shiftKey o.aspectResize) nh = nw * (p[1]/p[0]);

should be

if(e.shiftKey || o.aspectResize) nh = nw * (p[1]/p[0]);

Changed March 03, 2008 04:08AM UTC by braeker comment:3

resolution: → fixed
status: newclosed

This is already fixed, thanks anyway!

Changed May 24, 2008 03:39AM UTC by comment:4

milestone: 1.2.4

Milestone 1.2.4 deleted

Changed February 26, 2009 11:31AM UTC by paul comment:5

milestone: → 1.5