Skip to content

Commit

Permalink
2024-04-04
Browse files Browse the repository at this point in the history
  • Loading branch information
poerin committed Apr 4, 2024
1 parent 8ebc3d7 commit 7681749
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Stroke/Stroke.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ private bool MouseHook_MouseAction(MouseHook.MouseActionArgs args)
}

stroking = true;
Bounds = new Rectangle(SystemInformation.VirtualScreen.X, SystemInformation.VirtualScreen.Y + 1, SystemInformation.VirtualScreen.Width, SystemInformation.VirtualScreen.Height);
API.SetWindowPos(Handle, API.IA.TOPMOST, 0, 0, 0, 0, API.SWP.NOSIZE | API.SWP.NOMOVE | API.SWP.NOACTIVATE);
API.ShowWindow(Handle, API.SW.SHOWNOACTIVATE);
lastPoint = args.Location;
Expand Down

0 comments on commit 7681749

Please sign in to comment.