Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Identify Screen Aspect Ratio

#131

We store the screen's width and height, but we need a model method identify the screen as a 16:9, 4:3, or some other size like that. It might be as easy as doing some division and rounding in the model or finding the GCD.

Reported by Brian Michalski · March 15th, 2011 @ 05:12 PM

State: invalid
Milestone: none
Assigned to: Zach Rowe Zach Rowe

Activity

  1. Brian Michalski
    Brian Michalski

    Actually, I'm not sure if we currently store the width and height... we should probably add that to the screen model

    March 15th, 2011 @ 05:14 PM

  2. Brian Michalski
    Brian Michalski
    • Assigned user set to Zach Rowe
    • State changed from new to open

    (from [69043b31ddac8712f157b1852b8582859c8f30ee]) storing screen resolution, calculating aspect ratio [#131 Identify Screen Aspect Ratio state:open assigned:'Zach Rowe'] [#111 Aspect Ratio Identification state:open assigned:'Zach Rowe'] https://github.com/wtg/concerto/commit/69043b31ddac8712f157b1852b85...

    April 10th, 2011 @ 03:48 PM

  3. Zach Rowe
    Zach Rowe

    What's the difference between this and #111 Aspect Ratio Identification? Is calculating the aspect ratio good enough, or should we store it too?

    April 10th, 2011 @ 03:54 PM

  4. Brian Michalski
    Brian Michalski
    • State changed from open to invalid

    You're right. Duplicate of #111 Aspect Ratio Identification.

    April 11th, 2011 @ 01:33 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.