moving motor properties to lower group (#403)

This commit is contained in:
Peli de Halleux 2018-04-03 04:30:10 -07:00 committed by GitHub
parent 9c3be9fe37
commit 3339a7660a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -164,7 +164,7 @@ namespace motors {
*/
//% blockId=outputMotorSetBrakeMode block="set %motor|brake %brake=toggleOnOff"
//% weight=60 blockGap=8
//% group="Move"
//% group="Properties"
//% help=motors/motor/set-brake
setBrake(brake: boolean) {
this.init();
@ -176,7 +176,7 @@ namespace motors {
*/
//% blockId=motorSetInverted block="set %motor|inverted %reversed=toggleOnOff"
//% weight=59 blockGap=8
//% group="Move"
//% group="Properties"
//% help=motors/motor/set-inverted
setInverted(inverted: boolean) {
this.init();
@ -344,7 +344,7 @@ namespace motors {
*/
//% blockId=outputMotorSetRegulated block="set %motor|regulated %value=toggleOnOff"
//% weight=58
//% group="Move"
//% group="Properties"
//% help=motors/motor/set-regulated
setRegulated(value: boolean) {
this._regulated = value;

View File

@ -13,7 +13,7 @@ namespace sensors {
}
//% color="#00852B" weight=90 icon="\uf10d"
//% groups='["Move", "Counters"]'
//% groups='["Move", "Counters", "Properties"]'
//% labelLineWidth=50
namespace motors {
}