Commit 2d8ca50
committed
Fix Linux popup z-order inset drift (CSD title bar)
The custom CSD title bar is drawn inside the same Compose scene as the
content (not as external inset), so platform inset reporting distorts popup
positioning. Setting topInsetPx=0 prevents Compose's RootMeasurePolicy from
shifting popups downward. Popups naturally layer above the title bar via
ComposeSceneLayer z-order.1 parent b4d7586 commit 2d8ca50
1 file changed
Lines changed: 17 additions & 1 deletion
File tree
- decorated-window-tao/src/main/kotlin/dev/nucleusframework/window/tao/render
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
282 | 298 | | |
283 | 299 | | |
284 | 300 | | |
| |||
0 commit comments