From ea6bfa03bd6502c561819beff73d10b3d26395fc Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Tue, 24 Oct 2017 21:55:37 -0700 Subject: [PATCH] touched -> pressed --- libs/core/_locales/core-strings.json | 2 +- libs/core/touch.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/core/_locales/core-strings.json b/libs/core/_locales/core-strings.json index fddf7468..1db2554e 100644 --- a/libs/core/_locales/core-strings.json +++ b/libs/core/_locales/core-strings.json @@ -18,8 +18,8 @@ "Output.C|block": "C", "Output.D|block": "D", "TouchSensorEvent.Bumped|block": "bumped", + "TouchSensorEvent.Pressed|block": "pressed", "TouchSensorEvent.Released|block": "released", - "TouchSensorEvent.Touched|block": "touched", "control.raiseEvent|block": "raise event|from %src|with value %value", "control|block": "control", "input.Button.isPressed|block": "%button|is pressed", diff --git a/libs/core/touch.ts b/libs/core/touch.ts index 4f93e55a..e45e42af 100644 --- a/libs/core/touch.ts +++ b/libs/core/touch.ts @@ -4,8 +4,8 @@ * Touch sensor interactions */ const enum TouchSensorEvent { - //% block="touched" - Touched = 4, + //% block="pressed" + Pressed = 4, //% block="bumped" Bumped = 1, //% block="released"