adafruit / Adafruit_Blinka_Displayio

Displayio for Blinka
MIT License
14 stars 20 forks source link

Using local variables during tilegrid drawing #40

Closed makermelissa closed 4 years ago

makermelissa commented 4 years ago

Fixes #39. This changes the code to start with copying the class variables to local variables because they were apparently changing halfway through the redrawing routine and causing some unexpected results. This is to help circumvent that since if they do change midway, this will at least continue with the local variables.

makermelissa commented 4 years ago

Tested on Raspberry Pi 4 with 2.8" PiTFT.