refactor!: allows previously internal constants to be configurable (#5897)

This commit is contained in:
alschmiedt
2022-02-09 09:46:34 -08:00
committed by GitHub
parent 9e8c5ea8ed
commit 4b5733e7c8
17 changed files with 250 additions and 194 deletions

View File

@@ -1011,6 +1011,39 @@ const renamings = {
},
},
},
'7.20211209.0': {
'Blockly': {
exports: {
DRAG_RADIUS: {
module: 'Blockly.config',
export: 'config.dragRadius',
},
FLYOUT_DRAG_RADIUS: {
module: 'Blockly.config',
export: 'config.flyoutDragRadius',
},
SNAP_RADIUS: {
module: 'Blockly.config',
export: 'config.snapRadius',
},
CONNECTING_SNAP_RADIUS: {
module: 'Blockly.config',
export: 'config.connectingSnapRadius',
},
CURRENT_CONNECTION_PREFERENCE: {
module: 'Blockly.config',
export: 'config.currentConnectionPreference',
},
BUMP_DELAY: {
module: 'Blockly.config',
export: 'config.bumpDelay',
},
SPRITE: {
module: 'Blockly.constants',
},
},
},
},
};
exports.renamings = renamings;