浏览代码

Merge branch 'material' into 'master'

Material

See merge request upm-packages/ui-widgets/com.unity.uiwidgets!122
/main
Shenhua Gu 6 年前
当前提交
39d1a826
共有 3 个文件被更改,包括 2 次插入3 次删除
  1. 1
      Runtime/material/app_bar.cs
  2. 1
      Runtime/material/flexible_space_bar.cs
  3. 3
      Samples/UIWidgetSample/MaterialSample.cs

1
Runtime/material/app_bar.cs


return this.centerTitle;
}
D.assert(themeData.platform != null);
switch (themeData.platform) {
case RuntimePlatform.IPhonePlayer:
return this.actions == null || this.actions.Count < 2;

1
Runtime/material/flexible_space_bar.cs


return this.widget.centerTitle;
}
D.assert(themeData.platform != null);
switch (themeData.platform) {
case RuntimePlatform.IPhonePlayer:
return true;

3
Samples/UIWidgetSample/MaterialSample.cs


using System.Collections.Generic;
using RSG;
using Unity.UIWidgets.foundation;
using Unity.UIWidgets.material;
using Unity.UIWidgets.painting;

this.setState(() => { this._showBottomSheetCallback = this._showBottomSheet; });
}
return null;
return new Promise();
});
}

正在加载...
取消
保存