2 writes to _state
Aspire.Dashboard (2)
Components\Controls\TerminalView.razor.cs (2)
268
_state
= new();
329
_state
= state;
12 references to _state
Aspire.Dashboard (12)
Components\Controls\TerminalView.razor.cs (12)
88
public int? FontSize =>
_state
.FontPx > 0 ?
_state
.FontPx : InitialFontSize;
91
public TerminalToolbarState ToolbarState =>
_state
;
327
if (
_state
!= state)
378
private IReadOnlyList<TerminalSizePreset> DisplayedSizePresets =>
_state
.Cols > 0 &&
_state
.Rows > 0 &&
379
!_sizePresets.Any(p => p.Value ==
_state
.SizeKey)
380
? [new(
_state
.SizeKey, $"{
_state
.Cols}\u00d7{
_state
.Rows}",
_state
.Cols,
_state
.Rows), .. _sizePresets]