Commit a0b1717
authored
Merge pull request #635 from kianzarrin/625-boost-lane-hover-hitpos
#625:
revived the lane hovering code from Traffic ++
Lane Connector now highlights lanes with Lane Sheath overlay.
Train markers use right color.
embolden lane curves for selected lane.
fixed drawing lane curves underground
made performance optimization by caching mouse pointer and lane bounds. They are recalculated only if user moves the mouse ray.
#543: I fixed the vertical mismatch by intersecting the mouse ray at the place where it hits the road.File tree
4 files changed
+307
-107
lines changed- TLM/TLM/UI
- SubTools
4 files changed
+307
-107
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | 190 | | |
192 | 191 | | |
193 | 192 | | |
| |||
0 commit comments