having already said that you can ignore it, here’s more in-depth as to the “why”, IFF you’re curious…
for sake of discussion, let’s imagine you have a simpler/typical config, width=320, height=480, still letterbox.
your content aspect ratio is 3:2 (ie 480:320), so consider what happens on a 4:3 (fe ipad) device: you’ll end up with
display.actualContentWidth = 360 – 40 extra pixels of letterbox added to match device aspect ratio
display.actualContentHeight = 480
let’s also assume you’ve left xAlign=“center”, so those 40 pixels of letterbox will be evenly divided on left/right sides of content. Intuitively, you’d expect display.screenOriginX to be -20. that is, that actual x zero of the screen is 20 content pixels left of where content-x == 0.
there are several ways you could word the “equation” that determines the screen origin values. I’m pretty sure (i’ll explain why later *) that corona internally words it something like this (considering only the single case of xAlign=“center”, to simplify):
screenOriginX = -(actualContentWidth - contentWidth)/2
screenOriginX = -(360-320)/2
screenOriginX = -20
so far so good, but…
now consider what happens if you run on a 4:3 aspect device that matches your content aspect ratio, then
display.actualContentWidth = 320 – 0 extra pixels of letterbox added
display.actualContentHeight = 480
now run the math above:
screenOriginX = -(320-320)/2
screenOriginX = -(0)/2
screenOriginX = -0
and there’s your negative zero.
* corona could “fix” this weird negative zero if they chose to, just by restructuring their math. if you instead distribute the negative sign through the equation, you’d get a positive zero, fe:
screenOriginX = (contentWidth-actualContentWidth)/2 – will produce identical result, except when zero
– 4:3 aspect device case
screenOriginX = (320-360)/2
screenOriginX = -20 – still correct
– 3:2 aspect device case
screenOriginX = (320-320)/2
screenOriginX = 0 – positive zero
(ie, the solution is to word the equation such that it avoids using an explicit “negate”)