Skip to content

Commit

Permalink
Merge pull request #3564 from SamBent/VSPFreeze
Browse files Browse the repository at this point in the history
Vsp freeze
  • Loading branch information
SamBent authored Oct 7, 2020
2 parents c01a204 + c042ba0 commit ec587c0
Show file tree
Hide file tree
Showing 2 changed files with 180 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public HierarchicalVirtualizationConstraints(VirtualizationCacheLength cacheLeng
_cacheLength = cacheLength;
_cacheLengthUnit = cacheLengthUnit;
_viewport = viewport;
_scrollGeneration = 0; // internal field set separately by caller
}

#endregion
Expand Down Expand Up @@ -131,11 +132,22 @@ public override int GetHashCode()

#endregion

#region Internal properties

internal long ScrollGeneration
{
get { return _scrollGeneration; }
set { _scrollGeneration = value; }
}

#endregion

#region Data

VirtualizationCacheLength _cacheLength;
VirtualizationCacheLengthUnit _cacheLengthUnit;
Rect _viewport;
long _scrollGeneration;

#endregion
}
Expand Down
Loading

0 comments on commit ec587c0

Please sign in to comment.