Dear Corona community,
I am implementing a drawing function and am struggling with display.newLine:
I am experiencing different behaviours on different Android devices when I initialize a newline like this:
lokal stroke = display.newLine(sceneGroup, centerX, centerY, centerX, centerY)
As soon as I append to that line by lets say
stroke.append(centerX + 10, centerY + 20)
I get two results:
Huawei P20 lite draws the expected line from center to that specified point PLUS a line from somewhere topleft out of screen to the center point.
Samsung Galaxy Tab 2 also draws the expected line fromc enter to that specified point PLUS a line from somewhere topleft out of screen to the center point.
Corona Simulator on windows just draws the expected line
Samsung S5 mini also just draws the expected line
So, I have no idea where this additional line comes from. I can solve this issue by setting up the initial newline like this:
lokal stroke = display.newLine(sceneGroup, centerX, centerY, centerX + 1, centerY + 1)
so it seems to me that setting up a newline with same start and target coordinates causes trouble on some devices.
Is this a bug or am I getting something wrong?
Thanks 