浏览代码

Merge branch 'material' into 'master'

scroll bug fix (scroll up then hold for a while, finally release  =>...

See merge request upm-packages/ui-widgets/com.unity.uiwidgets!81
/main
Shenhua Gu 6 年前
当前提交
70bd6cab
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      Runtime/ui/geometry.cs

4
Runtime/ui/geometry.cs


}
public static int sign(this float value) {
return (int) Mathf.Sign(value);
return value == 0.0f ? 0 : value > 0.0f ? 1 : -1;
}
public static bool isInfinite(this float it) {

if (other == null || other.isEmpty) {
return this;
}
return fromLTRB(
Mathf.Min(this.left, other.left),
Mathf.Min(this.top, other.top),

正在加载...
取消
保存