pxt-core 7.5.42 → 7.5.45
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/built/pxt.js +125 -27
- package/built/pxtblockly.js +44 -3
- package/built/pxtblocks.js +44 -3
- package/built/pxtlib.js +1 -1
- package/built/pxtpy.d.ts +2 -1
- package/built/pxtpy.js +124 -26
- package/built/pxtrunner.d.ts +2 -1
- package/built/pxtrunner.js +34 -7
- package/built/target.js +1 -1
- package/built/web/blockly.css +1 -1
- package/built/web/main.js +1 -1
- package/built/web/pxtapp.js +1 -1
- package/built/web/pxtblockly.js +1 -1
- package/built/web/pxtblocks.js +1 -1
- package/built/web/pxtembed.js +2 -2
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtpy.js +1 -1
- package/built/web/pxtrunner.js +1 -1
- package/built/web/pxtworker.js +1 -1
- package/built/web/rtlblockly.css +1 -1
- package/built/web/rtlsemantic.css +1 -1
- package/built/web/semantic.css +1 -1
- package/localtypings/pxtarget.d.ts +2 -0
- package/package.json +1 -1
- package/theme/blockly-core.less +4 -0
- package/theme/common.less +1 -0
- package/webapp/public/run.html +4 -0
|
@@ -834,7 +834,9 @@ declare namespace ts.pxtc {
|
|
|
834
834
|
mutateDefaults?: string;
|
|
835
835
|
mutatePropertyEnum?: string;
|
|
836
836
|
inlineInputMode?: string; // can be inline (horizontal), external (vertical), auto (default), or variable (based off currently expanded number of params)
|
|
837
|
+
inlineInputModeLimit?: number; // the number of expanded arguments at which to switch from inline to external. only applies when inlineInputMode=variable and expandableArgumentsMode=enabled
|
|
837
838
|
expandableArgumentMode?: string; // can be disabled, enabled, or toggle
|
|
839
|
+
expandableArgumentBreaks?: string; // a comma separated list of how many arguments to reveal/hide each time + or - is pressed on a block. only applies when expandableArgumentsMode=enabled
|
|
838
840
|
compileHiddenArguments?: boolean; // if true, compiles the values in expandable arguments even when collapsed
|
|
839
841
|
draggableParameters?: string; // can be reporter or variable; defaults to variable
|
|
840
842
|
|
package/package.json
CHANGED
package/theme/blockly-core.less
CHANGED
package/theme/common.less
CHANGED
package/webapp/public/run.html
CHANGED
|
@@ -167,6 +167,10 @@
|
|
|
167
167
|
// propagate message packets to parent frames
|
|
168
168
|
window.parent.postMessage(msg.data, "*");
|
|
169
169
|
}
|
|
170
|
+
else if (data.type == "simulator" && data.command == "setstate") {
|
|
171
|
+
// propagate message packets to parent frames
|
|
172
|
+
window.parent.postMessage(msg.data, "*");
|
|
173
|
+
}
|
|
170
174
|
else if (mpRole && data.type === "multiplayer") {
|
|
171
175
|
// propagate message packets to parent frames
|
|
172
176
|
window.parent.postMessage(msg.data, "*");
|