Add opened_marketplace and enabled_edit to edit.js

This commit is contained in:
Ryan Huffman 2016-06-16 13:18:08 -07:00
parent 3650377745
commit 56c84bbc27

View file

@ -150,6 +150,8 @@ function showMarketplace(marketplaceID) {
marketplaceWindow.setURL(url);
marketplaceWindow.setVisible(true);
marketplaceWindow.raise();
UserActivityLogger.logAction("opened_marketplace");
}
function hideMarketplace() {
@ -358,6 +360,9 @@ var toolBar = (function() {
}
that.showTools(isActive);
}
if (active) {
UserActivityLogger.logAction("enabled_edit");
}
}
toolBar.selectTool(activeButton, isActive);
lightOverlayManager.setVisible(isActive && Menu.isOptionChecked(MENU_SHOW_LIGHTS_IN_EDIT_MODE));