Skip to content

Commit

Permalink
fix: 修复 CursorManager 一个潜在错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinue committed Mar 29, 2024
1 parent b536d95 commit 6448a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Magpie.Core/CursorManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static POINT HostToSrc(POINT pt) {
}

if (pt.y >= outputRect.bottom) {
result.y += srcFrameSize.cx + pt.y - outputRect.bottom;
result.y += srcFrameSize.cy + pt.y - outputRect.bottom;
} else if (pt.y < outputRect.top) {
result.y += pt.y - outputRect.top;
} else {
Expand Down

0 comments on commit 6448a81

Please sign in to comment.