mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
chore: 添加注释
This commit is contained in:
parent
571820ea4f
commit
eb04092966
1 changed files with 1 additions and 0 deletions
|
|
@ -245,6 +245,7 @@ fire_and_forget ScalingService::_CheckForegroundTimer_Tick(ThreadPoolTimer const
|
|||
}
|
||||
|
||||
const HWND hwndFore = GetForegroundWindow();
|
||||
// 检查 _hwndCurSrc 使得缩放或等待状态下避免再次缩放源窗口
|
||||
if (!hwndFore || hwndFore == _hwndChecked || hwndFore == _hwndCurSrc) {
|
||||
co_return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue