mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Add opened_marketplace and enabled_edit to edit.js
This commit is contained in:
parent
3650377745
commit
56c84bbc27
1 changed files with 5 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue