Skip to content

Commit 8febfe8

Browse files
committed
todo: fix later to handle rotation
1 parent 389375c commit 8febfe8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_framebuf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,9 @@ def draw_char(self, char, x, y, framebuffer, color):
380380
# pylint: disable=too-many-arguments
381381
"""Draw one character at position (x,y) to a framebuffer in a given color"""
382382
# Don't draw the character if it will be clipped off the visible area.
383-
if x < -self.font_width or x >= framebuffer.width or \
384-
y < -self.font_height or y >= framebuffer.height:
385-
return
383+
#if x < -self.font_width or x >= framebuffer.width or \
384+
# y < -self.font_height or y >= framebuffer.height:
385+
# return
386386
# Go through each column of the character.
387387
for char_x in range(self.font_width):
388388
# Grab the byte for the current column of font data.

0 commit comments

Comments
 (0)