浏览代码

Merge branch 'dismissible' into 'master'

Fix bug.

See merge request upm-packages/ui-widgets/com.unity.uiwidgets!111
/main
Xingwei Zhu 6 年前
当前提交
1be37d00
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
      Runtime/widgets/dismissible.cs

7
Runtime/widgets/dismissible.cs


this.resizeDuration = resizeDuration ?? new TimeSpan(0, 0, 0, 0, 300);
this.dismissThresholds = dismissThresholds ?? new Dictionary<DismissDirection?, float?>();
this.movementDuration = movementDuration ?? new TimeSpan(0, 0, 0, 0, 200);
this.child = child;
this.background = background;
this.secondaryBackground = secondaryBackground;
this.onResize = onResize;
this.onDismissed = onDismissed;
this.direction = direction;
this.crossAxisEndOffset = crossAxisEndOffset;
}
public readonly Widget child;

正在加载...
取消
保存