Commit 79d10cf
committed
Modernize interaction model, upgrade to C++20, and fix build
- Removed legacy edge-panning from all mouse modes.
- Implemented universal panning via Middle Mouse Button (MMB), Spacebar + Left Mouse Button (LMB), two-finger gestures, and smooth trackpad scrolling.
- Transitioned Connection and Area Selection tools to a click-to-click model.
- Improved Connection tool UX with Cyan ghost lines and Green snap points.
- Centralized room-relative direction snapping logic in `src/map/ExitDirection.cpp`.
- Upgraded project to C++20 standard.
- Fixed C++20 migration issues: restored `concepts.h`, made `Crtp` constructors public, and resolved `std::unordered_map` transparency in `emojis.cpp`.
- Fixed build error in `src/syntax/Value.h` related to incomplete types in `std::vector`.
- Integrated `TestUIState` unit tests.
- Applied project-wide code formatting.1 parent 30e8f8b commit 79d10cf
2 files changed
Lines changed: 24 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
140 | 160 | | |
141 | 161 | | |
142 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments