浏览代码

debug error fix2

/main
xingwei.zhu 6 年前
当前提交
405e7699
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 4
      Runtime/material/tabs.cs
  2. 2
      Runtime/widgets/scroll_position.cs

4
Runtime/material/tabs.cs


public override bool applyContentDimensions(float minScrollExtent, float maxScrollExtent) {
bool result = true;
if (this._pixels == null) {
if (!this.havePixels) {
this.correctPixels(this.tabBar._initialScrollOffset(this.viewportDimension, minScrollExtent, maxScrollExtent));
result = false;
}

position.maxScrollExtent);
}
public float _initialScrollOffset(float viewportWidth, float minExtent, float maxExtent) {
internal float _initialScrollOffset(float viewportWidth, float minExtent, float maxExtent) {
return this._tabScrollOffset(this._currentIndex, viewportWidth, minExtent, maxExtent);
}

2
Runtime/widgets/scroll_position.cs


}
}
public bool hasPixles {
public bool havePixels {
get { return this._pixels != null; }
}

正在加载...
取消
保存