浏览代码

Merge pull request #296 from Unity-Technologies/zxw/fix_material_text_direction

fix material issue
/main
GitHub 3 年前
当前提交
3aa19571
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 3
      com.unity.uiwidgets/Runtime/material/material.cs
  2. 1
      com.unity.uiwidgets/Runtime/material/popup_menu.cs

3
com.unity.uiwidgets/Runtime/material/material.cs


shape: shape,
borderOnForeground: widget.borderOnForeground),
clipper: new ShapeBorderClipper(
shape: shape),
shape: shape,
textDirection: Directionality.of(context)),
clipBehavior: widget.clipBehavior,
elevation: _elevation.evaluate(animation),
color: ElevationOverlay.applyOverlay(context, widget.color, elevation),

1
com.unity.uiwidgets/Runtime/material/popup_menu.cs


ValueChanged<Size> onLayout = null,
Widget child = null
) : base(key: key, child: child) {
Debug.Log(onLayout != null);
this.onLayout = onLayout;
}

正在加载...
取消
保存