un-hid "extract" menu-option

pull/95/head
jmoenig 2020-10-22 15:17:03 +02:00
rodzic d83151a79a
commit 01e3b1de2e
2 zmienionych plików z 7 dodań i 10 usunięć

Wyświetl plik

@ -5,7 +5,7 @@
* added "pie chart" option to PLOT command in the frequency distribution analysis library * added "pie chart" option to PLOT command in the frequency distribution analysis library
* added getProjectXML() method to the API * added getProjectXML() method to the API
* new noCloud flag that disables cloud access, thanks, Bernat * new noCloud flag that disables cloud access, thanks, Bernat
* experimental (hidden) "extract" single command block context menu option * new "extract" single command block context menu option
* **Documentation Updates:** * **Documentation Updates:**
* API update * API update
* **Notable Fixes:** * **Notable Fixes:**
@ -18,6 +18,7 @@
* blocks: fixed UNDO/REDO for "extracted" (single) command blocks * blocks: fixed UNDO/REDO for "extracted" (single) command blocks
* blocks: refactored userExtractJustThis * blocks: refactored userExtractJustThis
* blocks: refactored userDestroyJustThis * blocks: refactored userDestroyJustThis
* blocks: un-hid "extract" menu-option
### 2020-10-21 ### 2020-10-21
* gui: wait until all costumes have loaded before auto-triggering the green-flag event * gui: wait until all costumes have loaded before auto-triggering the green-flag event

Wyświetl plik

@ -3023,15 +3023,11 @@ BlockMorph.prototype.userMenu = function () {
}, },
'only duplicate this block' 'only duplicate this block'
); );
menu.addItem(
if (shiftClicked) { 'extract',
menu.addItem( 'userExtractJustThis',
'extract', 'only grab this block'
'userExtractJustThis', );
'EXPERIMENTAL!\nonly grab this block',
new Color(100, 0, 0)
);
}
} }
menu.addItem( menu.addItem(
"delete", "delete",