kopia lustrzana https://github.com/backface/turtlestitch
fixed keyboard formula input for "neg"
rodzic
9f208d0e51
commit
a7d6bd8ef3
|
@ -4,12 +4,13 @@
|
|||
|
||||
* **Notable Fixes:**
|
||||
* fixed a costume fitting issue, thanks, Joan!
|
||||
* fixed keyboard formula input for "power of"
|
||||
* fixed keyboard formula input for "power of" and "neg"
|
||||
|
||||
### 2020-11-15
|
||||
* new dev version
|
||||
* objects: fixed costume fitting, thanks, Joan!
|
||||
* objects: fixed keyboard formula input for "power of"
|
||||
* objects: fixed keyboard formula input for "neg"
|
||||
|
||||
## 6.3.2
|
||||
* **Notable Changes:**
|
||||
|
|
|
@ -3398,11 +3398,12 @@ SpriteMorph.prototype.reporterize = function (expressionString) {
|
|||
round: 'reportRound',
|
||||
not: 'reportNot'
|
||||
};
|
||||
monads = ['abs', 'ceiling', 'floor', 'sqrt', 'sin', 'cos', 'tan',
|
||||
'asin', 'acos', 'atan', 'ln', 'log', 'round', 'not'];
|
||||
monads = ['abs', 'neg', 'ceiling', 'floor', 'sqrt', 'sin', 'cos',
|
||||
'tan', 'asin', 'acos', 'atan', 'ln', 'log', 'round', 'not'];
|
||||
alias = {
|
||||
ceil: 'ceiling',
|
||||
'!' : 'not'
|
||||
'!' : 'not',
|
||||
'-' : 'neg'
|
||||
};
|
||||
monads.concat(['true', 'false']).forEach(word =>
|
||||
reverseDict[localize(word).toLowerCase()] = word
|
||||
|
|
Ładowanie…
Reference in New Issue