Commit 0859644
Fix flaky graphics-draw-arc test logic (#4319)
* 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.
* Updated screenshot
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Shai Almog <[email protected]>1 parent 608f4ff commit 0859644
File tree
2 files changed
+1
-1
lines changed- scripts
- android/screenshots
- hellocodenameone/common/src/main/java/com/codenameone/examples/hellocodenameone/tests/graphics
2 files changed
+1
-1
lines changedLoading
Lines 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