Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins/turtle_blocks_extras/turtle_blocks_extras.py
diff options
context:
space:
mode:
authorMarion <marion.zepf@gmail.com>2013-07-19 22:09:26 (GMT)
committer Marion <marion.zepf@gmail.com>2013-07-19 22:09:26 (GMT)
commit5111d9c2a39e32861074f74426267ab4791a3aa2 (patch)
treeedb088394bdbaa822de0987cc385faa63090d8bc /plugins/turtle_blocks_extras/turtle_blocks_extras.py
parent616eab1711ea49c888c9e09e266a6bf47904c809 (diff)
parent3f6e427d5e9f45544d23b5af763a9507a17397d4 (diff)
Merge branch 'master' of git://git.sugarlabs.org/turtleart/mainline
Diffstat (limited to 'plugins/turtle_blocks_extras/turtle_blocks_extras.py')
-rw-r--r--plugins/turtle_blocks_extras/turtle_blocks_extras.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
index a272ec8..0d31ced 100644
--- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py
+++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
@@ -1519,6 +1519,7 @@ Journal objects'))
(1) translate the label name into the internal block name;
(2) 'dock' the block onto a stack where appropriate; and
(3) disassociate the new block from the mouse. """
+ x, y = self.tw.turtles.turtle_to_screen_coordinates((x, y))
for name in block_names:
# Translate label name into block/prim name.
if blkname in block_names[name]: