This bug only occurs on the iMac simulator. It does not occur in the Windows version of the simulator or on-device as far as I can tell.
Consider the following code:
rect = display.newRect( 0, 0, display.contentWidth, display.contentHeight )
rect:setFillColor( 0, 0, 0 )
local i = 394
local line = display.newLine( 100, i, 800, i )
line:setColor( 255, 255, 255 )
for i=395,500 do
line = display.newLine( 100, i, 800, i )
line:setColor( 255, 0, 0 )
end
i = 501
line = display.newLine( 100, i, 800, i )
line:setColor( 255, 255, 255 )
Note that the very first horizontal line will not be drawn on the iMac simulator.
I have submitted this bug to the bug database.
-Dennis
[import]uid: 108253 topic_id: 21827 reply_id: 321827[/import]