@dolphinweex/weex-vue-render 0.2.75 → 0.2.76
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/dist/index.common.js +2 -2
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -6087,7 +6087,7 @@ function getThrottledScroll (context) {
|
|
|
6087
6087
|
var evtObj = {
|
|
6088
6088
|
contentSize: { width: rect.width, height: rect.height },
|
|
6089
6089
|
contentOffset: {
|
|
6090
|
-
x: wrapper.scrollLeft,
|
|
6090
|
+
x: -wrapper.scrollLeft * rate,
|
|
6091
6091
|
/**
|
|
6092
6092
|
* positive direciton for y-axis is down.
|
|
6093
6093
|
* so should use negative operation on scrollTop.
|
|
@@ -11009,7 +11009,7 @@ function transitionOnce (vnode, config, callback) {
|
|
|
11009
11009
|
vnode = vnode[0];
|
|
11010
11010
|
}
|
|
11011
11011
|
|
|
11012
|
-
var duration = config.duration ||
|
|
11012
|
+
var duration = config.duration || 0; // ms
|
|
11013
11013
|
var timing = config.timingFunction || 'linear';
|
|
11014
11014
|
var delay = config.delay || 0; // ms
|
|
11015
11015
|
|
package/package.json
CHANGED