improved drawing text for area drawing

This commit is contained in:
Bartosz Kościów 2017-07-08 20:08:26 +02:00
parent d9ee0f388d
commit f2c059dcc7

View File

@ -181,6 +181,6 @@ class Area(Pixel):
for bit in range(bits): for bit in range(bits):
if data & 0x01: if data & 0x01:
self.driver.data(color, None) self.driver.data(color, None)
elif with_background: else:
self.driver.data(background_color, None) self.driver.data(background_color, None)
data >>= 1 data >>= 1