浏览代码

Merge branch 'master' into siyaoH/1.17/grid

/main
siyao 3 年前
当前提交
737e509b
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 2
      com.unity.uiwidgets/Runtime/widgets/page_view.cs
  2. 4
      com.unity.uiwidgets/Runtime/widgets/scroll_position.cs

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


public override bool applyViewportDimension(float viewportDimension) {
float oldViewportDimensions = 0.0f;
if (haveDimensions) {
if (haveViewportDimension) {
oldViewportDimensions = this.viewportDimension;
}

4
com.unity.uiwidgets/Runtime/widgets/scroll_position.cs


float? _viewportDimension;
public bool haveViewportDimension {
get { return _viewportDimension != null; }
}
public bool haveDimensions {
get { return _haveDimensions; }
}

正在加载...
取消
保存