Commit 5708463
fix stale close button hover state in TabsCtrl
Use actual cursor position in Paint() instead of stale lastMousePos,
and verify cursor is inside the client rect. Reset tabHighlightedClose
on WM_MOUSELEAVE. Add null check for tabInfo before accessing canClose.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent 5ea3e81 commit 5708463
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
178 | 185 | | |
179 | | - | |
| 186 | + | |
180 | 187 | | |
181 | 188 | | |
182 | 189 | | |
| |||
524 | 531 | | |
525 | 532 | | |
526 | 533 | | |
527 | | - | |
| 534 | + | |
528 | 535 | | |
| 536 | + | |
529 | 537 | | |
530 | 538 | | |
531 | 539 | | |
| |||
0 commit comments