mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 10:57:45 +08:00
fix: 最小化会在桌角留下一个小窗口
This commit is contained in:
@@ -96,9 +96,11 @@ namespace MaaWpfGui.Helper
|
||||
};
|
||||
}
|
||||
|
||||
// ReSharper disable once InvertIf
|
||||
if (_minimizeDirectly && _minimizeToTray)
|
||||
{
|
||||
window.ShowInTaskbar = false;
|
||||
window.Visibility = Visibility.Hidden;
|
||||
}
|
||||
}
|
||||
else if (!isDialog && ownerViewModel == null)
|
||||
|
||||
Reference in New Issue
Block a user