Describe the bug
If a player is in the middle of typing in their initiative slot, and the GM shows or hides a creature's initiative, the text input for the Player is cleared.
To Reproduce
Steps to reproduce the behavior:
- Add a character to initiative and a non-character to initiative
- Player begins typing in their initiative for a character they control, but does not unfocus the text input
- The GM sets the non-character to "show" (or hide if it was already shown).
- Whatever had been typed in the input is cleared.
Expected behavior
The input shouldn't clear whatever was typed.
Screenshots
N/A
Desktop (please complete the following information):
- OS: Windows
- Browser: Vivaldi
- PlanarAlly Version: not-quite-latest dev (960f529)
Additional context
Found this while hunting for #1755 repro, hasn't actually caused an issue in my games before, as I don't show monster initiative slots until their turn shows up.
Describe the bug
If a player is in the middle of typing in their initiative slot, and the GM shows or hides a creature's initiative, the text input for the Player is cleared.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The input shouldn't clear whatever was typed.
Screenshots
N/A
Desktop (please complete the following information):
Additional context
Found this while hunting for #1755 repro, hasn't actually caused an issue in my games before, as I don't show monster initiative slots until their turn shows up.