Adding more flexibility for mouse move events +fix order 2

This commit is contained in:
Dok11 2018-10-12 19:07:44 +03:00
parent b5af945019
commit 506a1dc154
7 changed files with 7 additions and 7 deletions

View file

@ -33,8 +33,8 @@ var VanillaTilt = function () {
this.updateBind = this.update.bind(this);
this.resetBind = this.reset.bind(this);
this.settings = this.extendSettings(settings);
this.element = element;
this.settings = this.extendSettings(settings);
this.elementListener = this.getElementListener();
this.reverse = this.settings.reverse ? -1 : 1;

File diff suppressed because one or more lines are too long

View file

@ -24,8 +24,8 @@ class VanillaTilt {
this.updateBind = this.update.bind(this);
this.resetBind = this.reset.bind(this);
this.settings = this.extendSettings(settings);
this.element = element;
this.settings = this.extendSettings(settings);
this.elementListener = this.getElementListener();
this.reverse = this.settings.reverse ? -1 : 1;

File diff suppressed because one or more lines are too long

View file

@ -21,8 +21,8 @@ class VanillaTilt {
this.updateBind = this.update.bind(this);
this.resetBind = this.reset.bind(this);
this.settings = this.extendSettings(settings);
this.element = element;
this.settings = this.extendSettings(settings);
this.elementListener = this.getElementListener();
this.reverse = this.settings.reverse ? -1 : 1;

View file

@ -32,8 +32,8 @@ var VanillaTilt = function () {
this.updateBind = this.update.bind(this);
this.resetBind = this.reset.bind(this);
this.settings = this.extendSettings(settings);
this.element = element;
this.settings = this.extendSettings(settings);
this.elementListener = this.getElementListener();
this.reverse = this.settings.reverse ? -1 : 1;

View file

@ -21,8 +21,8 @@ export default class VanillaTilt {
this.updateBind = this.update.bind(this);
this.resetBind = this.reset.bind(this);
this.settings = this.extendSettings(settings);
this.element = element;
this.settings = this.extendSettings(settings);
this.elementListener = this.getElementListener();
this.reverse = this.settings.reverse ? -1 : 1;