diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-07-16 15:59:08 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-07-16 15:59:08 (GMT) |
commit | 4731f5ad58ea53e2443362a7df43d3dd07f32915 (patch) | |
tree | e7ac407db68f35043c6e46a98acdb88453a63fe4 | |
parent | b0ddc5ccbfcf839e5dce2ccd2b784ab8ff4c4b33 (diff) |
add missing coord. xform to make_block method
-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]: |