Commit 9c8d71a9 authored by stanislav's avatar stanislav
Browse files

focusuot

parent e5bad561
Showing with 33 additions and 3 deletions
+33 -3
// [Core] Version: 1.0.28 - 11:07:51 PM
// [Core] Version: 1.0.29 - 5:16:52 PM
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
......@@ -1489,6 +1489,19 @@ function CameraControllerOrbit(object, domElement) {
};
this.focusOut = function() {
this.moveForward = false;
this.moveLeft = false;
this.moveBackward = false;
this.moveRight = false;
this.moveUp = false;
this.moveDown = false;
this.rotatingLeft = false;
this.rotatingRight = false;
this.rotatingUp = false;
this.rotatingBottom = false;
}
this.update = function(delta) {
if (scope.isMovement) {
this._update(delta);
......@@ -2395,6 +2408,7 @@ function CameraControllerOrbit(object, domElement) {
__WEBPACK_IMPORTED_MODULE_0__base_EventDispatcher_js__["a" /* EventDispatcher */].unbind("keyboard.keyup." + scope.keys.ARROW_RIGHT, this.onKeyUpRotateRight);
__WEBPACK_IMPORTED_MODULE_0__base_EventDispatcher_js__["a" /* EventDispatcher */].unbind("CameraControllerOrbit.setTarget", this.setTarget);
__WEBPACK_IMPORTED_MODULE_0__base_EventDispatcher_js__["a" /* EventDispatcher */].unbind("CameraControllerOrbit.focusOut", this.focusOut);
}
};
......@@ -2435,6 +2449,7 @@ function CameraControllerOrbit(object, domElement) {
__WEBPACK_IMPORTED_MODULE_0__base_EventDispatcher_js__["a" /* EventDispatcher */].bind("keyboard.keyup." + scope.keys.ARROW_RIGHT, this, this.onKeyUpRotateRight);
__WEBPACK_IMPORTED_MODULE_0__base_EventDispatcher_js__["a" /* EventDispatcher */].bind("CameraControllerOrbit.setTarget", this, this.setTarget);
__WEBPACK_IMPORTED_MODULE_0__base_EventDispatcher_js__["a" /* EventDispatcher */].bind("CameraControllerOrbit.focusOut", this, this.focusOut);
}
}
......@@ -2648,7 +2663,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__postprocessing_CopyShader___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_29__postprocessing_CopyShader__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__postprocessing_FXAAShader__ = __webpack_require__(37);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__postprocessing_FXAAShader___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_30__postprocessing_FXAAShader__);
const version = '1.0.28';
const version = '1.0.29';
/* harmony export (immutable) */ __webpack_exports__["version"] = version;
......
{
"name": "avvyland-web-core",
"version": "1.0.28",
"version": "1.0.29",
"description": "avvyland-web-core",
"main": "core.js",
"scripts": {
......
......@@ -131,6 +131,19 @@ function CameraControllerOrbit(object, domElement) {
};
this.focusOut = function() {
this.moveForward = false;
this.moveLeft = false;
this.moveBackward = false;
this.moveRight = false;
this.moveUp = false;
this.moveDown = false;
this.rotatingLeft = false;
this.rotatingRight = false;
this.rotatingUp = false;
this.rotatingBottom = false;
}
this.update = function(delta) {
if (scope.isMovement) {
this._update(delta);
......@@ -1037,6 +1050,7 @@ function CameraControllerOrbit(object, domElement) {
EventDispatcher.unbind("keyboard.keyup." + scope.keys.ARROW_RIGHT, this.onKeyUpRotateRight);
EventDispatcher.unbind("CameraControllerOrbit.setTarget", this.setTarget);
EventDispatcher.unbind("CameraControllerOrbit.focusOut", this.focusOut);
}
};
......@@ -1077,6 +1091,7 @@ function CameraControllerOrbit(object, domElement) {
EventDispatcher.bind("keyboard.keyup." + scope.keys.ARROW_RIGHT, this, this.onKeyUpRotateRight);
EventDispatcher.bind("CameraControllerOrbit.setTarget", this, this.setTarget);
EventDispatcher.bind("CameraControllerOrbit.focusOut", this, this.focusOut);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment