@egjs/flicking 4.11.5-beta.2 → 4.11.5-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egjs/flicking",
3
- "version": "4.11.5-beta.2",
3
+ "version": "4.11.5-beta.3",
4
4
  "description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.",
5
5
  "main": "dist/flicking.cjs.js",
6
6
  "module": "dist/flicking.esm.js",
@@ -32,7 +32,7 @@ class Camera {
32
32
  private _mode: CameraMode;
33
33
  private _el: HTMLElement;
34
34
  private _transform: string;
35
- private _lookedOffset: number;
35
+ private _lookedOffset = 0;
36
36
  private _position: number;
37
37
  private _alignPos: number;
38
38
  private _offset: number;
@@ -607,6 +607,7 @@ class Camera {
607
607
 
608
608
  private _resetInternalValues() {
609
609
  this._position = 0;
610
+ this._lookedOffset = 0;
610
611
  this._alignPos = 0;
611
612
  this._offset = 0;
612
613
  this._circularOffset = 0;