updated pxt (#2465)
* updated pxt * bump pxt * updated react * updated ptx * Remove empty variable element from XML * Bump pxt-core to 5.25.15 * bump pxt * Bump pxt to 5.25.17 * Add precision to music slider
This commit is contained in:
@ -106,6 +106,7 @@
|
||||
"Image.showImage": "Shows an frame from the image at offset ``x offset``.",
|
||||
"Image.showImage|param|xOffset": "column index to start displaying the image",
|
||||
"Image.width": "Gets the width in columns",
|
||||
"Infinity": "Constant representing positive infinity.",
|
||||
"Math": "More complex operations with numbers.",
|
||||
"Math.abs": "Returns the absolute value of a number (the value without regard to whether it is positive or negative).\nFor example, the absolute value of -5 is the same as the absolute value of 5.",
|
||||
"Math.abs|param|x": "A numeric expression for which the absolute value is needed.",
|
||||
@ -170,6 +171,8 @@
|
||||
"Math.tan|param|x": "An angle in radians",
|
||||
"Math.trunc": "Returns the number with the decimal part truncated.",
|
||||
"Math.trunc|param|x": "A numeric expression.",
|
||||
"NaN": "Constant representing Not-A-Number.",
|
||||
"Number.isNaN": "Check if a given value is of type Number and it is a NaN.",
|
||||
"Number.toString": "Returns a string representation of a number.",
|
||||
"Object.keys": "Return the field names in an object.",
|
||||
"String": "Combine, split, and search text strings.",
|
||||
|
@ -1,5 +1,4 @@
|
||||
<xml xmlns="http://www.w3.org/1999/xhtml">
|
||||
<variables></variables>
|
||||
<block type="pxt-on-start" x="20" y="20">
|
||||
<statement name="HANDLER">
|
||||
<block type="device_plot">
|
||||
|
@ -1,5 +1,4 @@
|
||||
<xml xmlns="http://www.w3.org/1999/xhtml">
|
||||
<variables></variables>
|
||||
<block type="pins_on_pulsed" x="-157" y="130">
|
||||
<field name="pin">DigitalPin.P5</field>
|
||||
<field name="pulse">PulseValue.Low</field>
|
||||
|
@ -610,7 +610,7 @@
|
||||
<block type="device_set_tempo">
|
||||
<value name="value">
|
||||
<shadow type="math_number_minmax">
|
||||
<mutation min="4" max="400" label="Bpm"></mutation>
|
||||
<mutation min="4" max="400" label="Bpm" precision="0"></mutation>
|
||||
<field name="SLIDER">12312312</field>
|
||||
</shadow>
|
||||
</value>
|
||||
|
Reference in New Issue
Block a user