pxt icon indicating copy to clipboard operation
pxt copied to clipboard

Code Screenshots are slightly cropped

Open Amerlander opened this issue 3 years ago • 0 comments

Bug Template

Describe the bug When you create an image of your code, the blocks on the edge are all a little cropped. It's not that much visible, but when you try to upscale the images you will see it.

Based on the documentation at https://makecode.microbit.org/blocks-embed we made a little tool to help teacher to create images for their materials. This tool has an upscaling function and the posibility to export SVG and makes the issue more visible: https://go.calliope.cc/tools/makecode/codeimages/ (it's german, but pretty straight forward and everyone's welcome to contribute and translate).

To Reproduce Steps to reproduce the behavior:

  1. Create some Blocks
  2. Right click
  3. Create screenshot of code
  4. Check the edges of the image

Expected behavior The image canvas should be slightly bigger to cover the full block.

Screenshots image

Amerlander avatar Mar 25 '22 19:03 Amerlander