mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
fix: 细节优化
This commit is contained in:
parent
fdee573819
commit
2de06c5246
3 changed files with 4 additions and 2 deletions
|
|
@ -38,6 +38,8 @@ bool GraphicsCaptureFrameSource::Initialize() {
|
|||
|
||||
const RECT& srcClient = App::GetInstance().GetSrcClientRect();
|
||||
|
||||
// 在源窗口存在 DPI 缩放时有时会有一像素的偏移(取决于窗口在屏幕上的位置)
|
||||
// 可能是 DwmGetWindowAttribute 的 bug
|
||||
_frameInWnd = {
|
||||
UINT(srcClient.left - srcRect.left),
|
||||
UINT(srcClient.top - srcRect.top),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue