HTML5-Paint-Bucket-Tool
HTML5-Paint-Bucket-Tool copied to clipboard
Wrong Y setting
Thanks a lot for the script and good explanation in your post. In line 194 the y value will be incremented. However, this will result in a wrong position in the following pixelStack pushes at 208 and 220. Instead, the y should be incremented after checking for left/right.