mirror of
https://github.com/ArnoldSmith86/virtualtabletop.git
synced 2026-03-02 22:57:02 -05:00
Display the player name next to the cursor when actively moving a widget #53
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#53
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 @GroggyLion on GitHub (Jan 12, 2021).
Possibly enabled via a global true/false setting per game.
This would be useful for all our elderly players who are not concentrating on the play, and they keep asking who is moving that card! So this floating label/tooltip would only be displayed when moving a card/widget from the hand to/from the board (or maybe also at other times).
@ArnoldSmith86 commented on GitHub (Jan 12, 2021):
Sounds like a good idea. A long time ago we were talking about showing a playercolored halo around the dragged widget. Maybe the player name could be centered above the widget.
I will build it in the near future. We can then play around with it a bit and decide if we need a toggle for it or not.
@robartsd commented on GitHub (Jan 19, 2021):
I think that the DOM element representing other players' cursors should have these classes dynamically assigned:
These classes could then be styled.
Default styles could include:
Does the client code for the widget already know which other player is moving an item? It seems to me that this would be easier to implement on the cursor than on the widget; especially if piles will soon not be widgets - dragging a pile will mean that multiple widgets are being moved by one cursor.
@robartsd commented on GitHub (Dec 6, 2021):
Classes added in #808 , css variables to be added in #972 , games will be able to set this style with #951 using
,hack.I do think it would be nice to add per-client cursor display options to Players & Settings overlay. Not sure what plans @mousewax has there. I picture options for styling each of 3 states (inactive, moving, pressed). Possibly with separate opacity options for the indicator circle and a text label by making each a pseudo element.