fix(ui): select retained items on mouse down
Port UIElement_ListBox's press-time selection ordering through the shared retained item-list contract. Inventory, loot, paperdoll, and physical shortcuts now update canonical selection before release or drag promotion, while target-mode consumption suppresses drag and release-time activation. Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
parent
2dd5cb80d2
commit
043ab10b3c
18 changed files with 292 additions and 62 deletions
|
|
@ -151,6 +151,13 @@ The separate retained ItemList path now does the same for occupied backpack,
|
|||
side-bag, loot-container, paperdoll-slot, and physical shortcut cells; it
|
||||
selects the item before entering the shared appraisal owner, and RMB movement
|
||||
neither appraises nor lifts the item.
|
||||
The adjacent input-latency correction ports
|
||||
`UIElement_ListBox::MouseDown @ 0x0046E3A0`: physical retained items now update
|
||||
canonical selection and their green frame on left-button down, before the
|
||||
three-pixel drag threshold. Target mode is intercepted at that same press.
|
||||
Bag opening, item use/equip, and shortcut activation remain completed
|
||||
click/double-click actions, so a drag or target-consumed press cannot also
|
||||
activate the item.
|
||||
|
||||
**Files:** `src/AcDream.Core.Net/Messages/AppraiseInfoParser.cs`;
|
||||
`src/AcDream.App/UI/RetailUiRuntime.cs`;
|
||||
|
|
@ -176,6 +183,8 @@ Right-clicking a visible world object opens the same examination window;
|
|||
right-dragging the camera does not.
|
||||
Right-clicking an occupied retained item cell selects and examines it without
|
||||
using, equipping, looting, or dragging it.
|
||||
Left-pressing one selects it before the button is released; holding and
|
||||
dragging preserves that selection without activating the item.
|
||||
The Black Phyntos Hive specifically reads `Value: ???`, `Burden: Unknown`,
|
||||
then its description after one retail paragraph break, without the bogus
|
||||
255-item/255-container line.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue