Skip to content

Commit d2733ae

Browse files
author
Thomas Preston
committed
Fixed vertical sprites
1 parent 0d45154 commit d2733ae

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Change Log
22
==========
33

4+
v0.8.6
5+
------
6+
- Fixed bug with vertical sprites not allocating the correct amount of
7+
sprite space.
8+
49
v0.8.5
510
------
611
- Fixed timing issue with servos and USB response.

codebug_tether/sprites.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def __init__(self, string, direction='R', font=FourByFiveFont()):
184184
H" !"
185185
"""
186186
spr_width = font.char_width
187-
spr_height = font.char_height + 1 * len(string)
187+
spr_height = (font.char_height + 1) * len(string)
188188

189189
super().__init__(spr_width, spr_height)
190190

codebug_tether/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.8.5'
1+
__version__ = '0.8.6'

0 commit comments

Comments
 (0)