fix: Make `MenuItem` methods toggle classes immediately by gonfunko · Pull Request #9570 · RaspberryPiFoundation/blockly
The basics
The details
Resolves
Fixes #8801
Proposed Changes
This PR makes the various methods on MenuItem that toggle properties like checking, enabling, RTL, etc immediately update the state of the menu item without requiring the entire menu to be torn down and recreated to reflect the new state. It also adds tests for MenuItem.