mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
fix: 修复检测窗口重叠的错误
This commit is contained in:
parent
6448a81421
commit
8e0fb38019
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ bool CheckForeground(HWND hwndForeground) {
|
|||
IntersectRect(&rectForground, &MagApp::Get().GetHostWndRect(), &rectForground);
|
||||
|
||||
// 允许稍微重叠,否则前台窗口最大化时会意外退出
|
||||
return rectForground.right - rectForground.left < 10 || rectForground.right - rectForground.top < 10;
|
||||
return rectForground.right - rectForground.left < 10 || rectForground.bottom - rectForground.top < 10;
|
||||
}
|
||||
|
||||
uint32_t Renderer::GetEffectCount() const noexcept {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue