Commit de2020b
authored
Hotfix v1.1.4.1 — HUD edit mode via dedicated key binding
* fix: stop unconditionally consuming RMB in TaxHUD mouse handler
TaxHUD returned true for every RMB event regardless of whether the cursor
was over the HUD, silently starving IncomeMod, NPCFavor, and other mods of
their right-click events. Now returns false when neither in edit mode nor
cursor-over-HUD, matching the SoilFertilizer pattern.
Fixes #51 (reported via FS25_FarmTablet)
* chore: bump version to 1.1.4.1
* chore: add release zip v1.1.4.1
* fix: enter HUD edit mode via TM_HUD_DRAG key binding, not RMB
Ports the SoilFertilizer pattern: edit mode is entered exclusively via a
dedicated key binding (TM_HUD_DRAG). RMB now only exits edit mode when
already active, and never consumes the event otherwise — preserving
CoursePlay, AutoDrive, and all other mods that rely on right-click.
Added TM_HUD_DRAG input action with PLAYER context registration and cleanup.
* chore: rebuild zip with correct HUD edit mode key binding fix1 parent 110cc99 commit de2020b
4 files changed
Lines changed: 49 additions & 6 deletions
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
437 | 436 | | |
438 | 437 | | |
439 | 438 | | |
440 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
441 | 454 | | |
442 | 455 | | |
443 | 456 | | |
444 | 457 | | |
445 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
446 | 469 | | |
447 | 470 | | |
448 | 471 | | |
| |||
506 | 529 | | |
507 | 530 | | |
508 | 531 | | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
509 | 536 | | |
510 | 537 | | |
511 | 538 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | 389 | | |
391 | 390 | | |
392 | 391 | | |
393 | 392 | | |
394 | 393 | | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
395 | 407 | | |
396 | 408 | | |
397 | 409 | | |
398 | 410 | | |
| 411 | + | |
399 | 412 | | |
400 | 413 | | |
401 | 414 | | |
402 | 415 | | |
403 | 416 | | |
404 | 417 | | |
| 418 | + | |
405 | 419 | | |
406 | 420 | | |
407 | 421 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
255 | 258 | | |
256 | 259 | | |
257 | 260 | | |
258 | | - | |
259 | | - | |
| 261 | + | |
260 | 262 | | |
261 | | - | |
| 263 | + | |
262 | 264 | | |
263 | 265 | | |
264 | 266 | | |
| |||
0 commit comments