From 58dbb212215a1d8aeaddd4debe428d7f2383e80f Mon Sep 17 00:00:00 2001 From: CST1229 <68464103+CST1229@users.noreply.github.com> Date: Mon, 29 Jan 2024 19:31:55 +0100 Subject: [PATCH] "Stage selected: less pen blocks" label on the stage The motion category already does this, so this is for parity --- src/extensions/scratch3_pen/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/extensions/scratch3_pen/index.js b/src/extensions/scratch3_pen/index.js index 16c09dfb61..b1b8eace4a 100644 --- a/src/extensions/scratch3_pen/index.js +++ b/src/extensions/scratch3_pen/index.js @@ -298,6 +298,16 @@ class Scratch3PenBlocks { }), blockIconURI: blockIconURI, blocks: [ + // tw: additional message when on the stage for clarity + { + blockType: BlockType.LABEL, + text: formatMessage({ + id: 'tw.pen.stageSelected', + default: 'Stage selected: less pen blocks', + description: 'Label that appears in the Pen category when the stage is selected' + }), + filter: [TargetType.STAGE] + }, { opcode: 'clear', blockType: BlockType.COMMAND,