-
Notifications
You must be signed in to change notification settings - Fork 11
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
image.get()
failing
#72
Comments
Can you send me a snippet of your code that triggers the error? Also Color is from the q5-color module which is included in the default q5.js bundle. |
Thanks for taking a look, I really appreciate it! The error appears when I load an image and try to manipulate it. let img = loadImage('/images/and03-01.png')
// then later in draw()
function draw() {
// ...
let c = img.get(x * tileSizeX, y * tileSizeY) // this triggers the $.Color error
} |
@tmjoen ah yup this is a bug. I will try to fix it soon. |
Fixed in v2.5.1! See changelog: |
Sorry for the noob question, but I can't seem to find any info on this.
I'm getting
This is in this code
I can't find any $.Color defined — is this from an external lib?
The text was updated successfully, but these errors were encountered: