mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
refactor!: allows previously internal constants to be configurable (#5897)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user