Closed jos-rosenqvist-3812 closed 5 years ago
Adding a require to getPixel makes the exception for out-of-bounds coordinates be thrown in the calling thread, which makes the stack trace easier to understand.
require
getPixel
Fixes #4.
Thanks! Nice improvement!
Adding a
require
togetPixel
makes the exception for out-of-bounds coordinates be thrown in the calling thread, which makes the stack trace easier to understand.Fixes #4.