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)
148return _scroll; 230_listScroll = _scroll; 399if (_scroll == before) 831_scroll = Math.Clamp(_scroll, 0, Math.Max(0, _contentHeight - _viewport.Height)); 832var listOrigin = _viewport.Y - _scroll; 858if (_scroll > 0 && notice is not null) 914var thumbY = _viewport.Y + 4 + travel * _scroll / (_contentHeight - _viewport.Height);