mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2025-02-17 17:01:12 -05:00
update new_block event
This commit is contained in:
parent
dc8990f9ab
commit
0a91deec86
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ export default class Palette {
|
|||
e.preventDefault();
|
||||
switch (Palette.getLandingPlace(element, e)) {
|
||||
case 'scripts':
|
||||
iOS.analyticsEvent('editor', 'new_block', element.owner.blocktype);
|
||||
iOS.analyticsEvent('editor', 'new_block_' + element.owner.blocktype);
|
||||
var sc = ScratchJr.getActiveScript();
|
||||
var dx = localx(sc, element.left);
|
||||
var dy = localy(sc, element.top);
|
||||
|
|
Loading…
Reference in a new issue