1 write to _contentHeight
aspire-tray (1)
src\Aspire.Tray\Common\TrayPanel.cs (1)
775
_contentHeight
= y + ListBottomPadding;
6 references to _contentHeight
aspire-tray (6)
src\Aspire.Tray\Common\TrayPanel.cs (6)
398
_scroll = Math.Clamp(before - deltaY, 0, Math.Max(0,
_contentHeight
- _viewport.Height));
829
var height = Math.Min(_maxHeight, chrome +
_contentHeight
);
831
_scroll = Math.Clamp(_scroll, 0, Math.Max(0,
_contentHeight
- _viewport.Height));
910
if (
_contentHeight
> _viewport.Height && _viewport.Height > 0)
912
var thumb = Math.Max(24, _viewport.Height * _viewport.Height /
_contentHeight
);
914
var thumbY = _viewport.Y + 4 + travel * _scroll / (
_contentHeight
- _viewport.Height);