Commit 11cce79
Wire SignalBus for text input activation (Phase 1)
Replace OnActivateTextInput callback and PendingCustomActivation hack
with ActivateTextInputSignal/DeactivateTextInputSignal posted via the
signal bus. Signals are delivered in OnPostFrame, after event handling
completes — no more timing conflicts with HandleMouseDown.
- Create SignalBus in Program.cs, pass through VkGuiRenderer to all tabs
- Subscribe ActivateTextInput/DeactivateTextInput handlers in Program.cs
- Add bus.ProcessPending(tracker) to OnPostFrame
- Delete OnActivateTextInput callback from VkEquipmentTab
- Delete PendingCustomActivation from EquipmentTabState
- Remove previousActiveTextInput hack from GuiEventHandlers
- Bump DIR.Lib to 1.3.71
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6af68c3 commit 11cce79
File tree
7 files changed
+39
-38
lines changed- nupkgs
- src
- TianWen.UI.Gui
7 files changed
+39
-38
lines changedBinary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | 347 | | |
354 | 348 | | |
355 | 349 | | |
| |||
410 | 404 | | |
411 | 405 | | |
412 | 406 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | 407 | | |
417 | 408 | | |
418 | 409 | | |
| |||
438 | 429 | | |
439 | 430 | | |
440 | 431 | | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
| 432 | + | |
| 433 | + | |
451 | 434 | | |
452 | 435 | | |
453 | 436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
77 | 103 | | |
78 | 104 | | |
79 | 105 | | |
| |||
239 | 265 | | |
240 | 266 | | |
241 | 267 | | |
| 268 | + | |
242 | 269 | | |
243 | 270 | | |
244 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
834 | 833 | | |
835 | 834 | | |
836 | 835 | | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | 836 | | |
845 | 837 | | |
846 | 838 | | |
| |||
867 | 859 | | |
868 | 860 | | |
869 | 861 | | |
870 | | - | |
871 | | - | |
| 862 | + | |
| 863 | + | |
872 | 864 | | |
873 | 865 | | |
874 | 866 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | | - | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
0 commit comments