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

feat/#4 Pass pixel position instead of (x, y) #19

Merged
merged 5 commits into from
Apr 10, 2024

Conversation

addegbenga
Copy link
Contributor

  • Changed the placePixelDevnet function to accept position arg instead of x and y arguments.
  • Change pixelClicked function api call on the frontend to reflect this change.

Copy link
Contributor

@b-j-roberts b-j-roberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, left a few comments.

backend/routes/pixel.go Outdated Show resolved Hide resolved
backend/routes/pixel.go Outdated Show resolved Hide resolved
frontend/src/canvas/Canvas.js Outdated Show resolved Hide resolved
@b-j-roberts b-j-roberts merged commit 2b92db7 into keep-starknet-strange:main Apr 10, 2024
3 checks passed
@b-j-roberts
Copy link
Contributor

Nice work!

@addegbenga addegbenga deleted the pixel-position branch April 19, 2024 15:52
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.

2 participants