Fixed issue with gap between pixels, allowing PAINT to spill out of bounded area

Started by CharlieJV, Jan 07, 2023, 07:48 PM

Previous topic - Next topic

johnno56

One pixel out by using floor() instead of round()... I would not have found the solution to that one... Well spotted!!
May your journey be free of incident.  Live long and prosper.

CharlieJV

Quote from: johnno56 on Jan 08, 2023, 02:27 AMOne pixel out by using floor() instead of round()... I would not have found the solution to that one... Well spotted!!

Yeah, I thought for sure I was diving into a long and painful dissection of foreign-to-me javascript code.

I'm some glad I decided to drop the resolution of the screen (and turn off image smoothing) to better see the pixels.

Definitely got lucky on that one.