mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-28 22:30:40 -04:00
for compatibility, make all existing extension menus accept reporters
This commit is contained in:
parent
cfee656306
commit
33a6071466
11 changed files with 556 additions and 445 deletions
|
@ -1112,8 +1112,14 @@ class Scratch3Ev3Blocks {
|
|||
}
|
||||
],
|
||||
menus: {
|
||||
motorPorts: this._formatMenu(Ev3MotorMenu),
|
||||
sensorPorts: this._formatMenu(Ev3SensorMenu)
|
||||
motorPorts: {
|
||||
acceptReporters: true,
|
||||
items: this._formatMenu(Ev3MotorMenu)
|
||||
},
|
||||
sensorPorts: {
|
||||
acceptReporters: true,
|
||||
items: this._formatMenu(Ev3SensorMenu)
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue