mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Don't momentum if no pixel change Fixed #61
This commit is contained in:
@ -145,6 +145,11 @@
|
||||
} else {
|
||||
y = this.y;
|
||||
}
|
||||
|
||||
if(ox == x && oy == y) {
|
||||
time = 0;
|
||||
}
|
||||
|
||||
var dx = ox - x;
|
||||
var dy = oy - y;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user