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)
106else if (_scale != ReadScale()) 430if (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); 621LinuxPanelNative.cairo_scale(context, _scale, _scale); 700var scale = _scale * LinuxPanelNative.gtk_widget_get_scale_factor(_area);