mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
357ffc67e5 | |||
ea8fb5e533 | |||
31afd6d0ba | |||
b38274e652 | |||
518e8c219c |
@ -1 +1 @@
|
||||
__version__ = '2.9.0'
|
||||
__version__ = '2.9.1'
|
||||
|
@ -19,7 +19,7 @@ class Bitmap(Widget):
|
||||
self.image = Image.open(path)
|
||||
|
||||
def draw(self, canvas, drawer):
|
||||
if self.color = 0xFF:
|
||||
if self.color == 0xFF:
|
||||
self.image = ImageOps.invert(self.image)
|
||||
canvas.paste(self.image, self.xy)
|
||||
|
||||
|
@ -10,8 +10,8 @@ class Waveshare3in7(DisplayImpl):
|
||||
|
||||
def layout(self):
|
||||
fonts.setup(10, 8, 10, 18, 25, 9)
|
||||
self._layout['width'] = 480
|
||||
self._layout['height'] = 280
|
||||
self._layout['width'] = 280
|
||||
self._layout['height'] = 480
|
||||
self._layout['face'] = (0, 43)
|
||||
self._layout['name'] = (0, 14)
|
||||
self._layout['channel'] = (0, 0)
|
||||
|
Reference in New Issue
Block a user