mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
Fix circular offset
This commit is contained in:
parent
9d74a01f04
commit
bce96b0c4a
2 changed files with 12 additions and 2 deletions
|
|
@ -222,7 +222,7 @@ function (Parent, KeyboardInput, domController, Settings, Swiper) {
|
|||
KeyboardAndMouse.prototype.deactivateModifier = function() {
|
||||
this.modifier = false;
|
||||
this.x = this.lastLookDirection * Settings.VIEWPORT_LOOK_AHEAD;
|
||||
this.y = 0;
|
||||
this.y = this.y;
|
||||
this.onXyChange(this.x, this.y);
|
||||
this.playerController.deactivateModifier();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue