Skip to content

Commit

Permalink
make center block work
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsderp authored May 9, 2024
1 parent 1c894e5 commit 5a7842d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor_new/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,9 @@ <h4>Select File here</h4>
javascript.javascriptGenerator.forBlock['movement_move_y'] = function(block, generator) {
return "basicMoveY(" + block.getFieldValue("NUM") + ");";
};
javascript.javascriptGenerator.forBlock['center'] = function(block, generator) {
return "center();";
};
javascript.javascriptGenerator.forBlock['movement_moveback'] = function(block, generator) {
return "basicMoveBack();";
};
Expand Down

0 comments on commit 5a7842d

Please sign in to comment.