浏览代码

revert scroll_position.cs

/siyaoH-1.17-PlatformMessage
guanghuispark 4 年前
当前提交
36a69cab
共有 1 个文件被更改,包括 14 次插入7 次删除
  1. 21
      com.unity.uiwidgets/Runtime/widgets/scroll_position.cs

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


this.keepScrollOffset = keepScrollOffset;
this.debugLabel = debugLabel;
_coordinator = coordinator;
if (oldPosition != null) {
absorb(oldPosition);
}

internal readonly object _coordinator;
public float minScrollExtent {
get { return _minScrollExtent; }
get { return _minScrollExtent.Value; }
float _minScrollExtent;
float? _minScrollExtent;
get { return _maxScrollExtent; }
get { return _maxScrollExtent.Value; }
float _maxScrollExtent;
float? _maxScrollExtent;
public bool hasMinScrollExtent {
get { return _minScrollExtent != null; }
}
public bool hasMaxScrollExtent {
get { return _maxScrollExtent != null; }
}
public override float pixels {
get {
D.assert(_pixels != null);

internal float? _pixels;
public float viewportDimension {
get { return _viewportDimension; }
get { return _viewportDimension.Value; }
float _viewportDimension;
float? _viewportDimension;
public bool haveDimensions {
get { return _haveDimensions; }

正在加载...
取消
保存