mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
Add comment
This commit is contained in:
@@ -202,6 +202,9 @@ Blockly.onKeyDown_ = function(e) {
|
||||
}
|
||||
if (Blockly.selected &&
|
||||
Blockly.selected.isDeletable() && Blockly.selected.isMovable()) {
|
||||
// Don't allow copying immovable or undeletable blocks. The next step
|
||||
// would be to paste, which would create additional undeletable/immovable
|
||||
// blocks on the workspace.
|
||||
if (e.keyCode == 67) {
|
||||
// 'c' for copy.
|
||||
Blockly.hideChaff();
|
||||
|
||||
Reference in New Issue
Block a user