fix: no clipping please
This commit is contained in:
parent
e7cc21e5d5
commit
c84ae4b62f
|
@ -14,7 +14,7 @@ export default class TransitionResult extends decorate(class {}) {
|
||||||
super();
|
super();
|
||||||
// Speed might not get passed. If it doesn't, default to 100
|
// Speed might not get passed. If it doesn't, default to 100
|
||||||
// milliseconds.
|
// milliseconds.
|
||||||
this.duration = parseInt(duration || 100);
|
this.duration = parseFloat(duration || .1);
|
||||||
this.elapsed = 0;
|
this.elapsed = 0;
|
||||||
this._isEmittingProgress = false;
|
this._isEmittingProgress = false;
|
||||||
this.props = props;
|
this.props = props;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user