浏览代码

Merge branch 'page_view' into 'master'

fix

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

5
Runtime/widgets/page_view.cs


}
public override bool applyViewportDimension(double viewportDimension) {
double oldViewportDimensions = this.viewportDimension;
double oldViewportDimensions = 0.0;
if (this.haveDimensions) {
oldViewportDimensions = this.viewportDimension;
}
bool result = base.applyViewportDimension(viewportDimension);
double? oldPixels = null;
if (this.hasPixles) {

正在加载...
取消
保存