1 write to _scale
Aspire.Tray.Tests (1)
src\Aspire.Tray\Linux\LinuxTrayPanel.cs (1)
409
_scale
= ReadScale();
10 references to _scale
Aspire.Tray.Tests (10)
src\Aspire.Tray\Linux\LinuxTrayPanel.cs (10)
106
else if (
_scale
!= ReadScale())
430
if (workarea.Width < (TrayPanel.Width + 8) *
_scale
431
|| workarea.Height < (TrayPanel.HeaderHeight + TrayPanel.FooterHeight + TrayPanel.RowHeight + 16) *
_scale
)
435
_panel.MaxHeight = Math.Min(TrayPanel.DefaultMaxHeight, workarea.Height /
_scale
- 16);
486
_bounds = Place(_workarea, _anchorX, _anchorY, height,
_scale
);
489
_scale
, _panel.FocusedTarget);
507
(x, y) = ToPanelPoint(_bounds, surface.Geometry, x, y,
_scale
);
621
LinuxPanelNative.cairo_scale(context,
_scale
,
_scale
);
700
var scale =
_scale
* LinuxPanelNative.gtk_widget_get_scale_factor(_area);