What features should we add to Corona?

contentBounds should be able to be accessed as non-rounded value

Have these just as integers prevents us from using it for positioning. Since an object with 'x' position of 0 has the same xMin as an object with 'x' position of 0.4.

I understand this can't be changed all of a sudden because it could break existing implementations, but wouldn't it be an idea to add an additional one? (eg. preciseContentBounds or display.setDefault("contentBoundMode", "float"))

This will make it viable to use for positioning, as described in this post.

https://forums.coronalabs.com/topic/70936-is-there-a-reason-why-contentbounds-are-just-provided-as-integers/?p=370733

15 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Jochem shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base