summaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/simu/view/debug_draw.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/simu/view/debug_draw.py b/host/simu/view/debug_draw.py
index 9c1ea66c..bc82baef 100644
--- a/host/simu/view/debug_draw.py
+++ b/host/simu/view/debug_draw.py
@@ -51,6 +51,8 @@ class DebugDraw (Drawable):
(x - s, y - s), (x + s, y + s),
(x - s, y + s), (x + s, y - s),
(x - s, y - s), fill = self.__colors[d[3]])
+ elif d[0] == 'text':
+ self.draw_text ((d[1], d[2]), text = d[3])
else:
raise ValueError