andysworkshop / xmemtft

Arduino Mega TFT library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graphics library rectangle demo bug

andysworkshop opened this issue · comments

There's a small bug in the rectangle demo of the graphics library. Click to see an example

The highlighted line should obviously read:

rc.Y=(rand() % tft->getYmax()/2);

The impact appears to be minor but some panels may hang when addressed beyond their supported range.

Fixed in master on commit ce4793f