Skip to content

Commit multiple creds with one click#7953

Merged
NBKelly merged 2 commits intomtgred:masterfrom
NBKelly:commit-multiple-creds-with-one-click
Feb 26, 2025
Merged

Commit multiple creds with one click#7953
NBKelly merged 2 commits intomtgred:masterfrom
NBKelly:commit-multiple-creds-with-one-click

Conversation

@NBKelly
Copy link
Collaborator

@NBKelly NBKelly commented Feb 10, 2025

This does the following:

  • Makes handle-card-click on the frontend also pass through if the shift key was held
  • Makes handle-card-click action set in the game state if the shift key was held
  • Makes it so that when you need to pick credits, if you hold the shift key, it will keep selecting credits from that card for as long as possible (until there are no more credits to pay, or the card is drained)

Basically this lets some things that are otherwise annoying be a lot more convenient.
I know the presentation/routing of this could be improved, but I'm not sure of a smarter way to do it.

Closes #7869

@NBKelly NBKelly merged commit d18e406 into mtgred:master Feb 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Paying with hosted credits should be easier

1 participant