mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 14:47:19 +02:00
Fix enabled_edit firing on disable
This commit is contained in:
parent
a7f30ced29
commit
1be30ccce9
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,6 @@ var toolBar = (function() {
|
|||
Messages.sendLocalMessage("edit-events", JSON.stringify({
|
||||
enabled: active
|
||||
}));
|
||||
UserActivityLogger.enabledEdit();
|
||||
isActive = active;
|
||||
if (!isActive) {
|
||||
entityListTool.setVisible(false);
|
||||
|
@ -350,6 +349,7 @@ var toolBar = (function() {
|
|||
selectionManager.clearSelections();
|
||||
cameraManager.disable();
|
||||
} else {
|
||||
UserActivityLogger.enabledEdit();
|
||||
hasShownPropertiesTool = false;
|
||||
entityListTool.setVisible(true);
|
||||
gridTool.setVisible(true);
|
||||
|
|
Loading…
Reference in a new issue