tyfon7 / UIFixes

Small QOL fixes for SPTarkov
MIT License
8 stars 1 forks source link

Hotkeying an item and swapping said item with another to the inventory will leave the hotkey to that item. #4

Closed FuckingStealingNames closed 3 months ago

FuckingStealingNames commented 3 months ago

EscapeFromTarkov_vTjIQZPOKs First image shows the hotkeyed item, all safe and sound in its inventory... and it gets switched with a food, leaving the hotkeyed item in the inventory, all cold. image

This does linger into the raid also, but doesn't seem to have any harmful effects, just that it stays there until you hotkey another item into that slot.

tyfon7 commented 3 months ago

Nice catch. This sent me down the rabbit hole of how operations raise events to signal that they're done and various stuff needed to happen. Needless to say it's a mess.

This also made me realize that hover state isn't set correctly when you swap - you have to move your mouse out and back over the item to rebind it, for example.

tyfon7 commented 3 months ago

Fix will be in 1.3.4