kopia lustrzana https://github.com/backface/turtlestitch
hyperized image attribute reporter primitive (monadic)
rodzic
775029cae8
commit
bff16aa49b
|
@ -2,9 +2,14 @@
|
|||
|
||||
## in development:
|
||||
|
||||
* **Notable Changes:**
|
||||
* hyperized image attribute reporter primitive (monadic)
|
||||
* **Notable Fixes:**
|
||||
* fixed a glitch in the animation library's "sine in-out" easing function
|
||||
|
||||
### 2021-01-25
|
||||
* threads: hyperized image attribute reporter primitive (monadic)
|
||||
|
||||
### 2021-01-21
|
||||
* new dev version
|
||||
* animation library: fixed a glitch in the "sine in-out" easing function
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<script src="src/symbols.js?version=2020-10-07"></script>
|
||||
<script src="src/widgets.js?version=2021-01-05"></script>
|
||||
<script src="src/blocks.js?version=2020-12-22"></script>
|
||||
<script src="src/threads.js?version=2021-01-05"></script>
|
||||
<script src="src/threads.js?version=2021-01-25"></script>
|
||||
<script src="src/objects.js?version=2021-01-05"></script>
|
||||
<script src="src/gui.js?version=2021-01-21"></script>
|
||||
<script src="src/paint.js?version=2020-05-17"></script>
|
||||
|
|
|
@ -61,7 +61,7 @@ StageMorph, SpriteMorph, StagePrompterMorph, Note, modules, isString, copy, Map,
|
|||
isNil, WatcherMorph, List, ListWatcherMorph, alert, console, TableMorph, BLACK,
|
||||
TableFrameMorph, ColorSlotMorph, isSnapObject, newCanvas, Symbol, SVG_Costume*/
|
||||
|
||||
modules.threads = '2021-January-05';
|
||||
modules.threads = '2021-January-25';
|
||||
|
||||
var ThreadManager;
|
||||
var Process;
|
||||
|
@ -5832,6 +5832,12 @@ Process.prototype.doSetInstrument = function (num) {
|
|||
// Process image processing primitives
|
||||
|
||||
Process.prototype.reportGetImageAttribute = function (choice, name) {
|
||||
if (this.enableHyperOps) {
|
||||
if (name instanceof List) {
|
||||
return name.map(each => this.reportGetImageAttribute(choice, each));
|
||||
}
|
||||
}
|
||||
|
||||
var cst = this.costumeNamed(name) || new Costume(),
|
||||
option = this.inputOption(choice);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue