From 3339a7660aca041cafc410ec9e58dedbff491978 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Tue, 3 Apr 2018 04:30:10 -0700 Subject: [PATCH] moving motor properties to lower group (#403) --- libs/core/output.ts | 6 +++--- libs/ev3/ns.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/core/output.ts b/libs/core/output.ts index 57b9bc5e..861f959d 100644 --- a/libs/core/output.ts +++ b/libs/core/output.ts @@ -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; diff --git a/libs/ev3/ns.ts b/libs/ev3/ns.ts index 3b6a4138..dccf5665 100644 --- a/libs/ev3/ns.ts +++ b/libs/ev3/ns.ts @@ -13,7 +13,7 @@ namespace sensors { } //% color="#00852B" weight=90 icon="\uf10d" -//% groups='["Move", "Counters"]' +//% groups='["Move", "Counters", "Properties"]' //% labelLineWidth=50 namespace motors { }