Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
392 stars 71 forks source link

bug(Character): Fix activeCharacterId not immediately updating upon character creation time #1311

Closed Kruptein closed 10 months ago

Kruptein commented 10 months ago

Internally PA uses a reactive variable activeCharacterId for some character related things. One of these things is to show the Create Character line in the shape context menu. Which should dissappear if the aformentioned variable has a value.

This variable was only being set when the active selection changed, which means that when creating a character using the shape context-menu this property was not being set as the selection didn't change.