-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added property hidePlayerCursors
#1829
Conversation
PR-SERVER-BOT: You can play around with it here: https://test.virtualtabletop.io/PR-1829/pr-test (or any other room on that server) After merging, a backup will be available at |
I can't find any flaws in this. I tested every widget type. Works as expected (except for maybe decks where it doesn't work, but who cares because it works on cards). I also tested when a widget is "invisible" because of The only question I have. Should we make this the default for hands? |
Done, but only for new hands. Not sure if we should do a file updater and set it to every Also not sure if the PCIO importer should use this. Does anybody know if PCIO supports hiding cursors? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved through test. I think it is fine as is without changing existing hands or any childrenPerOwner stuff. Leave it at hands. As far as I know, other than making all cursors the same color to anonymize users, there are no other cursor settings.
this shouldn't break any game. It is just an extra feature. I feel this falls under that conversation we had on Discord. ALL hands old and new. You are basically removing an annoyance. |
Just coming back to this. The vote on Discord, such as it was: @RaphaelAlvez and jade-alarm for retroactive application; @96LawDawg neutral. No way to tell for @ArnoldSmith86 based on how he had to set up the scoring. Here's my point. This is ready now. Preparing a file-updater will take additional time. @mousewax already has a game ready to go. For future hands after this PR, it will be automatic anyway. Does retroactive application really matter? I don't think so. The problem of distracting cursors probably only exists in a small subset of existing games any way. And there is probably also a very small subset of games where developers would not want the cursor to go away. Why hold this up for a file-updater? |
I believe that almost any game that has a hand has this anoyance. Of course we get used to it but it is not a feature. On top of that if you sorta hand, it's somewhat easy to know which card is being played.
Yeah that's the whole point. I cannot think of any situation where leaving cursors on hands is better. Breaking any game is very unlikely. So why leave it? So if we are going to be less strict about this fear of breaking games this is an excellent first step. |
You guys do realize that I already added the file updater? |
Obviously not. Oops; missed that. So I checked several games and the file updater worked on most of them. But not on Card Games and Knaves. Not that big of a deal because can always add that manually. But it is a little concerning that it missed those. Their hand holders meet the criteria for having it added. Wonder why it missed? |
This is keeping it simple. It might be a good idea to highlight the widget instead of showing a cursor but this PR really just hides the cursor.
It is added to new hands by default and also to any holder with
childrenPerOwner: true
by using a file updater.