Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tablock.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt/tablock.py')
-rw-r--r--TurtleArt/tablock.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/TurtleArt/tablock.py b/TurtleArt/tablock.py
index 7ccfba3..c52a096 100644
--- a/TurtleArt/tablock.py
+++ b/TurtleArt/tablock.py
@@ -385,10 +385,12 @@ class Block:
self.tw.running_sugar)
n = 0
for i in range(n):
- if self.name in COMPARE_PORCH_STYLE or \
- self.name in NUMBER_STYLE_PORCH: # special case
+ if self.name in COMPARE_PORCH_STYLE:
self.spr.set_label_attributes(int(self._font_size[0] + 0.5),
True, 'center', 'bottom', i)
+ elif self.name in NUMBER_STYLE_PORCH:
+ self.spr.set_label_attributes(int(self._font_size[0] + 0.5),
+ True, 'right', 'bottom', i)
elif i == 1: # top
self.spr.set_label_attributes(int(self._font_size[1] + 0.5),
True, 'right', 'top', i)