Skip to content
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

Fix drawing bug on maneuvre stacks #68

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

lrprince
Copy link
Contributor

Instead of using stack_length, base the cursor Y position on the location of the first card in the stack.

To reproduce:
[space] to start game
[down] to move to first maneuvre stack
[space] to select card
[up] move up
[down] move back down to selected card. Cursor is one line too high [space] deselect card
[space] select card.

The bottom center of the card is drawn with the background color.

Instead of using stack_length, base the cursor Y position on the
location of the first card in the stack.

To reproduce:
[space] to start game
[down] to move to first maneuvre stack
[space] to select card
[up] move up
[down] move back down to selected card. Cursor is one line too high
[space] deselect card
[space] select card.

The bottom center of the card is drawn with the background color.
@mpereira
Copy link
Owner

Thanks for the PR @lrprince! I was able to reproduce it easily with your steps.

@mpereira mpereira merged commit 9c7212c into mpereira:master Sep 22, 2024
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.

None yet

2 participants