Skip to content

Commit

Permalink
4.8.12
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyi7099 committed Sep 15, 2018
1 parent 862b121 commit b3120be
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import 'vuescroll/dist/vuescroll.css';
Vue.use(vuescroll);
```

### In order to reduce the size of the bundle, you can import modes separately
### In order to reduce the size of the bundle, you can also import modes separately

#### Only import the features of slide mode:

Expand Down
4 changes: 2 additions & 2 deletions dist/vuescroll-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Vuescroll v4.8.11
* Vuescroll v4.8.12
* (c) 2018-2018 Yi(Yves) Wang
* Released under the MIT License
* Github: https://github.com/YvesCoding/vuescroll
Expand Down Expand Up @@ -2000,7 +2000,7 @@ function install(Vue$$1) {

var Vuescroll = {
install: install,
version: '4.8.11',
version: '4.8.12',
refreshAll: refreshAll
};

Expand Down
2 changes: 1 addition & 1 deletion dist/vuescroll-native.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vuescroll-slide.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Vuescroll v4.8.11
* Vuescroll v4.8.12
* (c) 2018-2018 Yi(Yves) Wang
* Released under the MIT License
* Github: https://github.com/YvesCoding/vuescroll
Expand Down Expand Up @@ -3995,7 +3995,7 @@ function install(Vue$$1) {

var Vuescroll = {
install: install,
version: '4.8.11',
version: '4.8.12',
refreshAll: refreshAll
};

Expand Down
2 changes: 1 addition & 1 deletion dist/vuescroll-slide.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vuescroll.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Vuescroll v4.8.11
* Vuescroll v4.8.12
* (c) 2018-2018 Yi(Yves) Wang
* Released under the MIT License
* Github: https://github.com/YvesCoding/vuescroll
Expand Down Expand Up @@ -4342,7 +4342,7 @@ function install(Vue$$1) {

var Vuescroll = {
install: install,
version: '4.8.11',
version: '4.8.12',
refreshAll: refreshAll
};

Expand Down
2 changes: 1 addition & 1 deletion dist/vuescroll.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"report-coverage": "codecov",
"gen-changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"version": "4.8.11",
"version": "4.8.12",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.5",
Expand Down
18 changes: 9 additions & 9 deletions src/mode/mix/mixins/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ import nativeMix from 'mode/native/mixins/update-native';
function resolveOffset(mode, vm) {
let axis = {};
switch (mode) {
case 'native':
axis = {
x: vm.scrollPanelElm.scrollLeft,
y: vm.scrollPanelElm.scrollTop
};
break;
case 'slide':
axis = { x: vm.scroller.__scrollLeft, y: vm.scroller.__scrollTop };
break;
case 'native':
axis = {
x: vm.scrollPanelElm.scrollLeft,
y: vm.scrollPanelElm.scrollTop
};
break;
case 'slide':
axis = { x: vm.scroller.__scrollLeft, y: vm.scroller.__scrollTop };
break;
}
return axis;
}
Expand Down

0 comments on commit b3120be

Please sign in to comment.