fix: no clipping please

This commit is contained in:
cha0s 2019-04-19 17:23:14 -05:00
parent e7cc21e5d5
commit c84ae4b62f

View File

@ -14,7 +14,7 @@ export default class TransitionResult extends decorate(class {}) {
super();
// Speed might not get passed. If it doesn't, default to 100
// milliseconds.
this.duration = parseInt(duration || 100);
this.duration = parseFloat(duration || .1);
this.elapsed = 0;
this._isEmittingProgress = false;
this.props = props;