Commit bd77e7b
committed
fix: correct link positions during zoom and enable workspace examples
- Update Pin component to report unscaled relative coordinates to maintain consistency.
- Adjust link path computation and hit-testing to correctly scale world-space pin offsets by zoom.
- Enable workspace and add default Slint backend features (winit, femtovg) to allow examples to run.
- Update documentation and example Cargo.toml files to use workspace dependencies.1 parent ec9da72 commit bd77e7b
14 files changed
Lines changed: 3637 additions & 585 deletions
File tree
- examples
- advanced
- animated-links
- custom-shapes
- minimal
- pin-compatibility
- zoom-stress-test
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
21 | 29 | | |
22 | 30 | | |
23 | 31 | | |
24 | | - | |
25 | | - | |
| 32 | + | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| |||
0 commit comments