Fixing hover text /help window for blocks are not correct
This commit is contained in:
6
libs/microbit/shims.d.ts
vendored
6
libs/microbit/shims.d.ts
vendored
@@ -224,7 +224,7 @@ declare namespace input {
|
||||
function onButtonPressed(button: Button, body: () => void): void;
|
||||
|
||||
/**
|
||||
* Attaches code to run when the screen is facing up.
|
||||
* Do something when when a gesture is done (like shaking the micro:bit).
|
||||
* @param body TODO
|
||||
*/
|
||||
//% help=input/on-gesture weight=84 blockGap=8
|
||||
@@ -270,7 +270,7 @@ declare namespace input {
|
||||
function pinIsPressed(name: TouchPin): boolean;
|
||||
|
||||
/**
|
||||
* Get the current compass compass heading in degrees.
|
||||
* Get the current compass heading in degrees.
|
||||
*/
|
||||
//% help=input/compass-heading
|
||||
//% weight=56 icon="\uf14e"
|
||||
@@ -305,7 +305,7 @@ declare namespace input {
|
||||
function lightLevel(): number;
|
||||
|
||||
/**
|
||||
* The pitch of the device, rotation along the ``x-axis``, in degrees.
|
||||
* The pitch or roll of the device, rotation along the ``x-axis`` or ``y-axis``, in degrees.
|
||||
* @param kind TODO
|
||||
*/
|
||||
//% help=input/rotation weight=52
|
||||
|
||||
Reference in New Issue
Block a user