Re: [Bug 26526] Fix aspect ratio constraint

On 9/11/14 3:02 PM, cowwoc wrote:
> Good point. Remind me again why users shouldn't be allowed to specify 
> the epsilon?

Because it is too complicated and redundant when { aspectRatio: { exact: 
16/9 } } always works?

> One user might want *exactly* one aspect ratio and another might want 
> something *roughly* around another ratio. Isn't this a business decision?

Use { aspectRatio: { min: 16/9 - business_epsilon/2, max: 16/9 + 
business_epsilon/2 } }

.: Jan-Ivar :.

Received on Thursday, 11 September 2014 19:22:09 UTC