1 write to _contentHeight
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\TrayPanel.cs (1)
858_contentHeight = y + ListBottomPadding;
5 references to _contentHeight
Aspire.Tray.Tests (5)
src\Aspire.Tray\Common\TrayPanel.cs (5)
445_scroll = Math.Clamp(scroll, 0, Math.Max(0, _contentHeight - _viewport.Height)); 480scrollRange = _contentHeight - _viewport.Height; 488var thumbHeight = Math.Min(trackHeight, Math.Max(ScrollbarMinimumThumbHeight, trackHeight * _viewport.Height / _contentHeight)); 934var height = Math.Min(_maxHeight, chrome + _contentHeight); 936_scroll = Math.Clamp(_scroll, 0, Math.Max(0, _contentHeight - _viewport.Height));