Skip to content

Commit

Permalink
0.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Sep 20, 2023
1 parent f1b489b commit 3819448
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ScreenCapture/MainWin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ void MainWin::setToolBoxPos()
}
else
{
//判断屏幕顶部是否有足够的空间,工具条右上角是否在屏幕内
index = getScreenIndex(cutBox.x1, cutBox.y0 - heightSpan);
//判断屏幕顶部是否有足够的空间,工具条右上角是否在屏幕内(多减2个像素控制边界)
index = getScreenIndex(cutBox.x1-2, cutBox.y0 - heightSpan);
if (index >= 0) {
//工具条左上角是否在屏幕内
if (getScreenIndex(cutBox.x1 - toolBoxWidth, cutBox.y0 - heightSpan) >= 0) {
Expand Down
Binary file modified ScreenCapture/ScreenCapture.aps
Binary file not shown.
Binary file modified ScreenCapture/ScreenCapture.rc
Binary file not shown.

0 comments on commit 3819448

Please sign in to comment.