mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 00:17:25 +02: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.setURL(url);
|
||||||
marketplaceWindow.setVisible(true);
|
marketplaceWindow.setVisible(true);
|
||||||
marketplaceWindow.raise();
|
marketplaceWindow.raise();
|
||||||
|
|
||||||
|
UserActivityLogger.logAction("opened_marketplace");
|
||||||
}
|
}
|
||||||
|
|
||||||
function hideMarketplace() {
|
function hideMarketplace() {
|
||||||
|
@ -358,6 +360,9 @@ var toolBar = (function() {
|
||||||
}
|
}
|
||||||
that.showTools(isActive);
|
that.showTools(isActive);
|
||||||
}
|
}
|
||||||
|
if (active) {
|
||||||
|
UserActivityLogger.logAction("enabled_edit");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
toolBar.selectTool(activeButton, isActive);
|
toolBar.selectTool(activeButton, isActive);
|
||||||
lightOverlayManager.setVisible(isActive && Menu.isOptionChecked(MENU_SHOW_LIGHTS_IN_EDIT_MODE));
|
lightOverlayManager.setVisible(isActive && Menu.isOptionChecked(MENU_SHOW_LIGHTS_IN_EDIT_MODE));
|
||||||
|
|
Loading…
Reference in a new issue