Commit cb50254
committed
Fix flaky graphics-draw-arc test by correcting arc dimensions
The original test code incorrectly used absolute coordinates (right/bottom edges) as width/height arguments for `drawArc`, causing massive arcs to be drawn outside the component bounds. This likely led to rendering artifacts and flakiness on Android. This change updates the logic to draw concentric arcs that stay within the component bounds.1 parent c4df216 commit cb50254
File tree
1 file changed
+1
-1
lines changed- scripts/hellocodenameone/common/src/main/java/com/codenameone/examples/hellocodenameone/tests/graphics
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments