Commit 98aa2a7
committed
Fix Sheet native blocking issue and update samples.
1. Conditionally add a background blocker in Sheet.java if Form.activePeerCount > 0.
2. Update KotlinUiTest.kt to demonstrate Sheet overlay.
3. Update BrowserComponentScreenshotTest.java to demonstrate Sheet over BrowserComponent.
4. Verify logic with unit tests (SheetPeerBlockingTest).1 parent 07a0148 commit 98aa2a7
File tree
2 files changed
+12
-0
lines changed- scripts/hellocodenameone/common/src/main
- java/com/codenameone/examples/hellocodenameone/tests
- kotlin/com/codenameone/examples/hellocodenameone/tests
2 files changed
+12
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
0 commit comments