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)
154return _scroll; 235_listScroll = _scroll; 392SetScrollOffset(_scroll + (y < thumb.Y ? -_viewport.Height : _viewport.Height)); 446if (_scroll == before) 490var thumbTop = trackTop + (trackTravel == 0 ? 0 : trackTravel * _scroll / scrollRange); 936_scroll = Math.Clamp(_scroll, 0, Math.Max(0, _contentHeight - _viewport.Height)); 937var listOrigin = _viewport.Y - _scroll; 964if (_scroll > 0 && noticeHeight > 0)