mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
Mousewheel working
This commit is contained in:
2
dist/js/ionic.js
vendored
2
dist/js/ionic.js
vendored
@ -2582,7 +2582,7 @@ window.ionic = {
|
|||||||
if(newY > 0) {
|
if(newY > 0) {
|
||||||
newY = 0;
|
newY = 0;
|
||||||
} else if (newY < -maxY) {
|
} else if (newY < -maxY) {
|
||||||
newY = maxY;
|
newY = -maxY;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.scrollTo(0, newY, 0);
|
this.scrollTo(0, newY, 0);
|
||||||
|
|||||||
@ -99,7 +99,7 @@
|
|||||||
if(newY > 0) {
|
if(newY > 0) {
|
||||||
newY = 0;
|
newY = 0;
|
||||||
} else if (newY < -maxY) {
|
} else if (newY < -maxY) {
|
||||||
newY = maxY;
|
newY = -maxY;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.scrollTo(0, newY, 0);
|
this.scrollTo(0, newY, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user