Skip to content

Commit

Permalink
Merge pull request #189 from CST1229/tw-pen-clarity
Browse files Browse the repository at this point in the history
Pen: "Stage selected: less pen blocks" label on the stage
  • Loading branch information
GarboMuffin authored Feb 10, 2024
2 parents 9622516 + 58dbb21 commit f201364
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/extensions/scratch3_pen/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f201364

Please sign in to comment.