kopia lustrzana https://github.com/backface/turtlestitch
fix removed commands
rodzic
ec5ec2205f
commit
effdb04440
|
@ -2008,7 +2008,7 @@ SpriteMorph.prototype.initBlocks = function () {
|
|||
{
|
||||
type: 'command',
|
||||
spec: 'zoom to fit',
|
||||
category: 'sensing'
|
||||
category: 'other'
|
||||
};
|
||||
|
||||
this.blocks.reportPi = {
|
||||
|
@ -2018,6 +2018,7 @@ SpriteMorph.prototype.initBlocks = function () {
|
|||
};
|
||||
};
|
||||
|
||||
SpriteMorph.prototype.initBlocks();
|
||||
|
||||
// SpriteMorph block templates
|
||||
|
||||
|
@ -2248,6 +2249,9 @@ SpriteMorph.prototype.blockTemplates = function (category) {
|
|||
blocks.push(block('tieStitch'));
|
||||
blocks.push('-');
|
||||
|
||||
} else if (cat === 'other') {
|
||||
blocks.push(block('zoomToFit'));
|
||||
|
||||
} else if (cat === 'colors') {
|
||||
blocks.push(block('setColor'));
|
||||
blocks.push('-');
|
||||
|
@ -2360,7 +2364,7 @@ SpriteMorph.prototype.blockTemplates = function (category) {
|
|||
blocks.push('-');
|
||||
blocks.push(block('reportDate'));
|
||||
blocks.push('-');
|
||||
blocks.push(block('zoomToFit'));
|
||||
|
||||
|
||||
// for debugging: ///////////////
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue