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 rotate panic #82

Merged
merged 1 commit into from
May 3, 2020
Merged

Fix rotate panic #82

merged 1 commit into from
May 3, 2020

Conversation

harotobira
Copy link

@harotobira harotobira commented Apr 29, 2020

Hi,

I have the same problem as in this issue #78. I found a solution to this.

We must not set RGBA colours by pix slice. We must use .Set()

Explained here: https://groups.google.com/forum/#!topic/golang-nuts/WXr89MY9MBw

And some explanaitions about slice[a:b:c] construct https://stackoverflow.com/questions/27938177/golang-slice-slicing-a-slice-with-sliceabc

@anthonynsimon
Copy link
Owner

Thanks a lot for helping out with this!

@anthonynsimon anthonynsimon merged commit f0f3bd5 into anthonynsimon:master May 3, 2020
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