浏览代码

fix dismissible.cs

/siyaoH-1.17-PlatformMessage
guanghuispark 4 年前
当前提交
5a13351e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.uiwidgets/Runtime/widgets/dismissible.cs

2
com.unity.uiwidgets/Runtime/widgets/dismissible.cs


DragStartBehavior dragStartBehavior = DragStartBehavior.start
) : base(key: key) {
D.assert(key != null);
D.assert(secondaryBackground != null ? background != null : true);
D.assert(secondaryBackground == null || background != null);
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);

正在加载...
取消
保存