aligning groups with hardware name components

This commit is contained in:
Peli de Halleux
2017-10-24 16:52:13 -07:00
parent fa6c81cf80
commit 33c8902050
11 changed files with 54 additions and 54 deletions

View File

@@ -45,7 +45,7 @@ namespace input {
//% parts="touch"
//% blockNamespace=input
//% weight=81 blockGap=8
//% group="Touch sensor"
//% group="Touch Sensor"
isTouched() {
return this.button.isPressed();
}
@@ -61,7 +61,7 @@ namespace input {
//% parts="touch"
//% blockNamespace=input
//% weight=99 blockGap=8
//% group="Touch sensor"
//% group="Touch Sensor"
onEvent(ev: TouchSensorEvent, body: () => void) {
this.button.onEvent(<ButtonEvent><number>ev, body)
}