Project-Pandora-Game / pandora

https://project-pandora.com
Other
11 stars 3 forks source link

Fix that wardrobe editing item screens no longer replace each other and have to be closed one by one #759

Closed ClaudiaMia closed 5 months ago

ClaudiaMia commented 5 months ago

Expected behavior: When I click on several items in the wardrobe one after another, e.g. to look for item descriptions, I expect that a single click on the "X" button on the right column unselects the item and brings me back to the neutral view on the right side.

Actual behavior: The editing item screens in the right column build a history of all selected items after opening the wardrobe and have to be closed one by one, depending on how many items you selected before, until eventually all are considered unselected again.

Fix: Selecting a new item should clear the selection state of the previous item on the wardrobe as well as the room inventory.

ClaudiaMia commented 5 months ago

@Sekkmer I assume that may be a side effect of one of your recent wardrobe related PRs?

ClaudiaMia commented 5 months ago

Maybe it was this fix here: https://github.com/Project-Pandora-Game/pandora/pull/723/

I will investigate a bit~

ClaudiaMia commented 5 months ago

Okay, it was rather this one: https://github.com/Project-Pandora-Game/pandora/pull/713