diff --git a/fieldeditors/field_music.ts b/fieldeditors/field_music.ts index 96e5f751..359d5793 100644 --- a/fieldeditors/field_music.ts +++ b/fieldeditors/field_music.ts @@ -20,7 +20,7 @@ export class FieldMusic extends pxtblockly.FieldImages implements Blockly.FieldC private categoriesCache_: string[]; constructor(text: string, options: FieldMusicOptions, validator?: Function) { - super(text, { sort: true, data: options.data }, validator); + super(text, { blocksInfo: options.blocksInfo, sort: true, data: options.data }, validator); this.columns_ = parseInt(options.columns) || 4; this.width_ = parseInt(options.width) || 380; diff --git a/fieldeditors/field_ports.ts b/fieldeditors/field_ports.ts index 8131c446..16adbcac 100644 --- a/fieldeditors/field_ports.ts +++ b/fieldeditors/field_ports.ts @@ -11,7 +11,7 @@ export class FieldPorts extends pxtblockly.FieldImages implements Blockly.FieldC public isFieldCustom_ = true; constructor(text: string, options: FieldPortsOptions, validator?: Function) { - super(text, { sort: true, data: options.data }, validator); + super(text, { blocksInfo: options.blocksInfo, sort: true, data: options.data }, validator); this.columns_ = parseInt(options.columns) || 4; this.width_ = parseInt(options.width) || 300; diff --git a/package.json b/package.json index 0ab9fe79..eb8ff198 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pxt-ev3", - "version": "0.4.3", + "version": "1.0.0", "description": "LEGO MINDSTORMS EV3 for Microsoft MakeCode", "private": true, "keywords": [ @@ -39,8 +39,8 @@ "webfonts-generator": "^0.4.0" }, "dependencies": { - "pxt-common-packages": "0.23.54", - "pxt-core": "3.21.7" + "pxt-common-packages": "0.23.55", + "pxt-core": "4.0.1" }, "scripts": { "test": "node node_modules/pxt-core/built/pxt.js travis"