Add support for multiple processor groups.

Merge from upstream.
This commit is contained in:
Phyxion
2020-05-11 13:29:52 +02:00
parent a18136b55e
commit 3cc3d9139c
22 changed files with 390 additions and 135 deletions
+3 -3
View File
@@ -122,9 +122,9 @@ namespace LibreHardwareMonitor.UI
_systemTray.HideShowCommand += HideShowClick;
_systemTray.ExitCommand += ExitClick;
int p = (int)Environment.OSVersion.Platform;
if ((p == 4) || (p == 128))
{ // Unix
if (Software.OperatingSystem.IsUnix)
{
// Unix
treeView.RowHeight = Math.Max(treeView.RowHeight, 18);
splitContainer.BorderStyle = BorderStyle.None;
splitContainer.Border3DStyle = Border3DStyle.Adjust;