diff options
author | Marion <marion.zepf@gmail.com> | 2013-07-19 22:09:26 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-07-19 22:09:26 (GMT) |
commit | 5111d9c2a39e32861074f74426267ab4791a3aa2 (patch) | |
tree | edb088394bdbaa822de0987cc385faa63090d8bc /plugins/turtle_blocks_extras/turtle_blocks_extras.py | |
parent | 616eab1711ea49c888c9e09e266a6bf47904c809 (diff) | |
parent | 3f6e427d5e9f45544d23b5af763a9507a17397d4 (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.py | 1 |
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]: |