fix: 修复无法缩放全屏窗口

This commit is contained in:
Xu 2024-03-28 21:17:09 +08:00
commit 6f0e5ea33d
2 changed files with 10 additions and 6 deletions

View file

@ -197,7 +197,7 @@ bool GraphicsCaptureFrameSource::_CaptureWindow(IGraphicsCaptureItemInterop* int
return false;
}
if (_srcRect.left <= frameBounds.left || _srcRect.top <= frameBounds.top) {
if (_srcRect.left < frameBounds.left || _srcRect.top < frameBounds.top) {
Logger::Get().Error("裁剪边框错误");
return false;
}