SnarpleDev / Snazzle

A better frontend for Scratch, built by the community, for the community
https://snarpledev.github.io/Snazzle/
BSD 3-Clause "New" or "Revised" License
14 stars 6 forks source link

ScratchBlocks support in forums #48

Closed NotFenixio closed 1 year ago

NotFenixio commented 1 year ago

So, I've ~coded~ added 2 lines to _base.html with which the ScratchBlocks text is rendered

I was wondering if it would be better to use the 2.0 blocks instead of the 3.0 ones. 3.0 ones are bigger and take up a lot of post space (the size is set to 1, the minimum, and still the 3.0 ones look very big).

https://snazzle-scratch3.notfenixio1.repl.co/forums/topic/669945?page=0 <-- ScratchBlocks 3 https://snazzle-scratch2.notfenixio1.repl.co/forums/topic/669945?page=0 <-- ScratchBlocks 2

Check what I've changed here: https://replit.com/@NotFenixio1/snazzle-scratch2#templates/_base.html

redstone-dev commented 1 year ago

Can't you just resize it without changing block padding? Or no?

Edit: You absolutely can make the block size a lot smaller. After some tweaking, I think 0.6 is the best size.

As for deciding 2.0 vs 3.0, I think we should add a toggle in the settings to use 2.0 instead of 3.0, but use 3.0 by default.

Thanks for this issue! I had no idea how to add Scratchblocks. I will make a change soon, adding this feature.

NotFenixio commented 1 year ago

Oh, I forgot that English decimals are shown with . and not with ,

Anyways, I'm happy to help :)

NotFenixio commented 1 year ago

After some tweaking, I think 0.6 is the best size.

Uh, that size seems to be a bit small, maybe it's my browser. What about creating a setting for changing the size?

redstone-dev commented 1 year ago

After some tweaking, I think 0.6 is the best size.

Uh, that size seems to be a bit small, maybe it's my browser. What about creating a setting for changing the size?

Yeah, good idea.