Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Screenshots are slightly cropped #8749

Open
Amerlander opened this issue Mar 25, 2022 · 0 comments
Open

Code Screenshots are slightly cropped #8749

Amerlander opened this issue Mar 25, 2022 · 0 comments

Comments

@Amerlander
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant