Commit aefe68f
committed
fix: restores proper prompt for item drag-and-drop
- Ensures all item drops go through TryDropItem, restoring the safety prompt that asks which item and how many to drop.
- Fixes a bug introduced with DragAndDrop_HandleDrop returning an incorrect boolean when bypassing the drop prompt, which caused undroppable items to have their icons hidden.1 parent b6cb66c commit aefe68f
3 files changed
Lines changed: 8 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 42 | + | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| |||
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | 406 | | |
413 | 407 | | |
414 | 408 | | |
| |||
430 | 424 | | |
431 | 425 | | |
432 | 426 | | |
433 | | - | |
| 427 | + | |
434 | 428 | | |
435 | 429 | | |
436 | 430 | | |
437 | 431 | | |
438 | 432 | | |
439 | | - | |
440 | 433 | | |
441 | 434 | | |
442 | 435 | | |
| |||
452 | 445 | | |
453 | 446 | | |
454 | 447 | | |
455 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
456 | 453 | | |
457 | 454 | | |
458 | 455 | | |
| |||
0 commit comments