mirror of
https://github.com/ArnoldSmith86/virtualtabletop.git
synced 2026-03-02 22:57:02 -05:00
seats get hidden without sitting #824
Labels
No labels
PCIO compatibility
Validator
automated testing
bug
documentation
duplicate
editor
enhancement
enhancement
library
library
maintenance
needs legacy server
pile related
reported client crash
routine operations
user interface
widget properties
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/virtualtabletop#824
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ArnoldSmith86 on GitHub (Sep 10, 2024).
QuickDownload without assets 2024-09-10 0639 - Intrigue of the Three Kingdoms.vtt.zip
If I click on a seat but then click Cancel, unused seats are hidden anyway. Might be a game bug but feels like an engine bug.
The problem is that it sets
playerName = '':Cancelling an
INPUTusually stops execution but apparently it only stops thethenRoutine. But settingplayerNameto nothing should not behave like it does.@bjalder26 commented on GitHub (Nov 28, 2024):
foreignis being appended to the class name of those seats whenever the playerName is changed to "" - even when done manually.I think it is because of this line in seat.js.
I'm thinking that this part:
w.get('player') == playerNameis making it so when the playerName is "", that any seats without an explicit player property will be hidden because the default isplayer: ''.Is the solution to this as simple as changing the default for the
playerproperty on seats tonull?@96LawDawg commented on GitHub (Nov 28, 2024):
Wouldn't that require a fileUpdater? Lots of my seat code relies on the fact that the default is ''.