10 writes to _scroll
aspire-tray (10)
src\Aspire.Tray\Common\TrayPanel.cs (10)
236
_scroll
= 0;
300
_scroll
= 0;
445
_scroll
= Math.Clamp(scroll, 0, Math.Max(0, _contentHeight - _viewport.Height));
594
_scroll
+= Math.Min(bottom - _viewport.Bottom, Math.Max(0, top - _viewport.Y));
633
_scroll
+= bottom - _viewport.Bottom;
637
_scroll
-= _viewport.Y - top;
662
_scroll
= _listScroll;
712
_scroll
-= _viewport.Y - target.Bounds.Y;
716
_scroll
+= target.Bounds.Bottom - _viewport.Bottom;
936
_scroll
= Math.Clamp(_scroll, 0, Math.Max(0, _contentHeight - _viewport.Height));
8 references to _scroll
aspire-tray (8)
src\Aspire.Tray\Common\TrayPanel.cs (8)
154
return
_scroll
;
235
_listScroll =
_scroll
;
392
SetScrollOffset(
_scroll
+ (y < thumb.Y ? -_viewport.Height : _viewport.Height));
446
if (
_scroll
== before)
490
var thumbTop = trackTop + (trackTravel == 0 ? 0 : trackTravel *
_scroll
/ scrollRange);
936
_scroll = Math.Clamp(
_scroll
, 0, Math.Max(0, _contentHeight - _viewport.Height));
937
var listOrigin = _viewport.Y -
_scroll
;
964
if (
_scroll
> 0 && noticeHeight > 0)