windows: display.newLine doesnt show on even y pixel, also physics body is wrong

display.newLine doesn’t show on an even y pixel

also don’t know if you’re meant to addBody to a single line but when you do. it’s offset by half the width

[lua]require(“physics”)
physics.start();
physics.setDrawMode(“hybrid”)

local rnd = math.random

local function spawnlulz(event)
local lulz = display.newText(“teh lulz”, rnd()*600, -50, native.systemFont, 50+rnd()*50)
lulz:setTextColor(rnd()*255, rnd()*255, rnd()*255)
lulz.rotation = rnd()*360
physics.addBody(lulz, “dynamic”, {density=2, friction=0.5,bounce=0.3 })
end
ground=display.newLine(0,501,display.contentWidth,501)
ground:setColor(255,0,0)
ground.width=1
physics.addBody(ground,“static”)
– line drawn on even pixel doesnt show
ground2=display.newLine(0,700,display.contentWidth,700)
ground2:setColor(0,0,255)
physics.addBody(ground2,“static”)

ground2.width=1

timer.performWithDelay(500, spawnlulz, 50)[/lua] [import]uid: 6645 topic_id: 6171 reply_id: 306171[/import]

I also have seen this problem, seems like ansca just doesnt want to talk about it, ive seen it in tons of posts. [import]uid: 19620 topic_id: 6171 reply_id: 22104[/import]