kopia lustrzana https://github.com/backface/turtlestitch
re- renamed minus selector back to "neg"
rodzic
a7677f87c7
commit
7e8d13beaf
|
@ -25,7 +25,7 @@
|
||||||
* new "get graphic effect" reporter
|
* new "get graphic effect" reporter
|
||||||
* new "get pen attribute" reporter
|
* new "get pen attribute" reporter
|
||||||
* new "write" command in pen category (used to be "label" in tools)
|
* new "write" command in pen category (used to be "label" in tools)
|
||||||
* added "-" (minus), "lg" (log2) and "2^" selectors to monadic function reporter in Operators
|
* added "neg", "lg" (log2) and "2^" selectors to monadic function reporter in Operators
|
||||||
* added "^" reporter (power of) in the Operators category
|
* added "^" reporter (power of) in the Operators category
|
||||||
* added "width" and "height" as attribute selectors of the OF primitive for the stage
|
* added "width" and "height" as attribute selectors of the OF primitive for the stage
|
||||||
* special context-aware drop-downs for custom blocks
|
* special context-aware drop-downs for custom blocks
|
||||||
|
@ -70,6 +70,7 @@
|
||||||
* Blocks, Threads: renamed monadic selectors: "neg" to "-" and "log2" to "lg", added "2^"
|
* Blocks, Threads: renamed monadic selectors: "neg" to "-" and "log2" to "lg", added "2^"
|
||||||
* Objects: moved costume-pixels primitives down in the palette towards the graphic effects
|
* Objects: moved costume-pixels primitives down in the palette towards the graphic effects
|
||||||
* German translation update
|
* German translation update
|
||||||
|
* re- renamed minus selector back to "neg"
|
||||||
|
|
||||||
### 2019-04-10
|
### 2019-04-10
|
||||||
* Objects: took out MAP and FOREACH primitives (available in dev mode)
|
* Objects: took out MAP and FOREACH primitives (available in dev mode)
|
||||||
|
|
|
@ -1323,7 +1323,8 @@ SyntaxElementMorph.prototype.labelPart = function (spec) {
|
||||||
false,
|
false,
|
||||||
{
|
{
|
||||||
abs : ['abs'],
|
abs : ['abs'],
|
||||||
'\u2212' : ['\u2212'], // minus-sign
|
// '\u2212' : ['\u2212'], // minus-sign
|
||||||
|
neg : ['neg'],
|
||||||
ceiling : ['ceiling'],
|
ceiling : ['ceiling'],
|
||||||
floor : ['floor'],
|
floor : ['floor'],
|
||||||
sqrt : ['sqrt'],
|
sqrt : ['sqrt'],
|
||||||
|
|
|
@ -2866,7 +2866,8 @@ Process.prototype.reportMonadic = function (fname, n) {
|
||||||
case 'abs':
|
case 'abs':
|
||||||
result = Math.abs(x);
|
result = Math.abs(x);
|
||||||
break;
|
break;
|
||||||
case '\u2212': // minus-sign
|
// case '\u2212': // minus-sign
|
||||||
|
case 'neg':
|
||||||
result = n * -1;
|
result = n * -1;
|
||||||
break;
|
break;
|
||||||
case 'ceiling':
|
case 'ceiling':
|
||||||
|
|
Ładowanie…
Reference in New Issue