From 0ef36f9a1c2d8e9858e8bdf1a966e3d74556b8ba Mon Sep 17 00:00:00 2001 From: Robert Knight <95928279+microbit-robert@users.noreply.github.com> Date: Thu, 30 Jan 2025 22:48:23 +0000 Subject: [PATCH] Remove block dropdown menu separator from keyboard navigation (#10364) --- pxtblocks/plugins/newVariableField/fieldDropdownMixin.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pxtblocks/plugins/newVariableField/fieldDropdownMixin.ts b/pxtblocks/plugins/newVariableField/fieldDropdownMixin.ts index 0b91288da8b8..f329c1a4d43d 100644 --- a/pxtblocks/plugins/newVariableField/fieldDropdownMixin.ts +++ b/pxtblocks/plugins/newVariableField/fieldDropdownMixin.ts @@ -109,6 +109,10 @@ class HorizontalRuleMenuItem extends Blockly.MenuItem { getId(): string { return this.element_.id; } + + isEnabled(): boolean { + return false; + } } Blockly.Css.register(`