10 writes to _scroll
aspire-tray (10)
src\Aspire.Tray\Common\TrayPanel.cs (10)
231
_scroll
= 0;
294
_scroll
= 0;
398
_scroll
= Math.Clamp(before - deltaY, 0, Math.Max(0, _contentHeight - _viewport.Height));
511
_scroll
+= Math.Min(bottom - _viewport.Bottom, Math.Max(0, top - _viewport.Y));
550
_scroll
+= bottom - _viewport.Bottom;
554
_scroll
-= _viewport.Y - top;
579
_scroll
= _listScroll;
629
_scroll
-= _viewport.Y - target.Bounds.Y;
633
_scroll
+= target.Bounds.Bottom - _viewport.Bottom;
831
_scroll
= Math.Clamp(_scroll, 0, Math.Max(0, _contentHeight - _viewport.Height));
7 references to _scroll
aspire-tray (7)
src\Aspire.Tray\Common\TrayPanel.cs (7)
148
return
_scroll
;
230
_listScroll =
_scroll
;
399
if (
_scroll
== before)
831
_scroll = Math.Clamp(
_scroll
, 0, Math.Max(0, _contentHeight - _viewport.Height));
832
var listOrigin = _viewport.Y -
_scroll
;
858
if (
_scroll
> 0 && notice is not null)
914
var thumbY = _viewport.Y + 4 + travel *
_scroll
/ (_contentHeight - _viewport.Height);