pxt-common-packages 13.1.11 → 13.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/libs/mixer/instrument.ts
CHANGED
|
@@ -135,6 +135,11 @@ namespace music.sequencer {
|
|
|
135
135
|
play(playbackMode: PlaybackMode) {
|
|
136
136
|
if (control.deviceDalVersion() === "sim") {
|
|
137
137
|
const seq = new _SimulatorSequencer();
|
|
138
|
+
seq.onStateChange(state => {
|
|
139
|
+
if (state === "stop") {
|
|
140
|
+
seq.dispose();
|
|
141
|
+
}
|
|
142
|
+
});
|
|
138
143
|
|
|
139
144
|
if (playbackMode === PlaybackMode.UntilDone) {
|
|
140
145
|
seq.play(this.buf, false);
|
|
@@ -60,8 +60,8 @@ namespace images {
|
|
|
60
60
|
//% shim=TD_ID
|
|
61
61
|
//% tile.fieldEditor="tileset"
|
|
62
62
|
//% tile.fieldOptions.decompileIndirectFixedInstances="true"
|
|
63
|
-
//% weight=
|
|
64
|
-
//%
|
|
63
|
+
//% weight=0 blockNamespace="scene" group="Locations"
|
|
64
|
+
//% duplicateShadowOnDrag
|
|
65
65
|
export function _tile(tile: Image) {
|
|
66
66
|
return tile
|
|
67
67
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pxt-common-packages",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.14",
|
|
4
4
|
"description": "Microsoft MakeCode (PXT) common packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MakeCode",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"libs/**/*"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"pxt-core": "12.2.
|
|
27
|
+
"pxt-core": "12.2.27"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"typescript": "^4.2.3"
|