mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Make auto-focus in editEntities always use ease-on-focus
This commit is contained in:
parent
814d585086
commit
7f0fdbe23e
1 changed files with 2 additions and 2 deletions
|
@ -535,7 +535,7 @@ function mousePressEvent(event) {
|
|||
if (result !== null) {
|
||||
var currentProperties = Entities.getEntityProperties(result.entityID);
|
||||
cameraManager.enable();
|
||||
cameraManager.focus(currentProperties.position, null, Menu.isOptionChecked(MENU_EASE_ON_FOCUS));
|
||||
cameraManager.focus(currentProperties.position, null, true);
|
||||
cameraManager.mousePressEvent(event);
|
||||
}
|
||||
} else {
|
||||
|
@ -683,7 +683,7 @@ function mouseClickEvent(event) {
|
|||
|
||||
cameraManager.focus(selectionManager.worldPosition,
|
||||
selectionManager.worldDimensions,
|
||||
Menu.isOptionChecked(MENU_EASE_ON_FOCUS));
|
||||
true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue