mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-13 06:29:31 -04:00
Refactor block_svg to share code between horizontal and vertical versionss.
This commit is contained in:
parent
9defd1ae79
commit
6ee0744b5c
11 changed files with 4493 additions and 5496 deletions
4
build.py
4
build.py
|
@ -439,10 +439,10 @@ class Gen_langfiles(threading.Thread):
|
|||
print("FAILED to create " + f)
|
||||
|
||||
def exclude_vertical(item):
|
||||
return not item.endswith("block_vertical_scratch.js")
|
||||
return not item.endswith("block_render_svg_vertical.js")
|
||||
|
||||
def exclude_horizontal(item):
|
||||
return not item.endswith("block_svg.js")
|
||||
return not item.endswith("block_render_svg_horizontal.js")
|
||||
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue