Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pysamples
diff options
context:
space:
mode:
Diffstat (limited to 'pysamples')
-rw-r--r--pysamples/load_block.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pysamples/load_block.py b/pysamples/load_block.py
index a457504..e7a7af6 100644
--- a/pysamples/load_block.py
+++ b/pysamples/load_block.py
@@ -75,4 +75,5 @@ def myblock(tw, blkname):
name = blkname
dy = int(find_block(tw, name, x, y))
- tw.active_turtle.move((x, y - dy))
+ # Account for block overlaps by adding back 4 pixels
+ tw.active_turtle.move((x, y - dy + 4))