summaryrefslogtreecommitdiff
path: root/host/simu/robots/guybrush
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/robots/guybrush')
-rw-r--r--host/simu/robots/guybrush/view/clamps.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/simu/robots/guybrush/view/clamps.py b/host/simu/robots/guybrush/view/clamps.py
index 9ac082d7..73980cf4 100644
--- a/host/simu/robots/guybrush/view/clamps.py
+++ b/host/simu/robots/guybrush/view/clamps.py
@@ -73,10 +73,11 @@ class ClampsSide (Drawable):
self.draw_polygon ((6, -45), (28, 45), (-6, 45), (-28, -45),
outline = BLACK, fill = GREY)
for i in (0, 1):
+ color=['RED','BLACK']
c = self.model.lower_clamp_clamping[i]
if c is not None:
self.draw_line ((7, -45), (7, -46 - c * 33),
- (-28, -46 - c * 33))
+ (-28, -46 - c * 33), fill=color[i])
if self.model.lower_clamp_content[i]:
e, y = self.model.lower_clamp_content[i][0]
self.draw_rectangle ((7, -45 - c * 15),