mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
delay activating webpage commander window when cursor is beam (user might be typing)
This commit is contained in:
parent
7dc0cbee82
commit
40f8f5cefd
1 changed files with 4 additions and 1 deletions
|
@ -907,7 +907,10 @@ namespace PersistentWindows.Common
|
|||
else if (hCursor == Cursors.IBeam.Handle)
|
||||
{
|
||||
Visible = false;
|
||||
StartAliveTimer(11, 1000);
|
||||
if (Math.Abs(cursorPos.X - lastCursorPos.X) < 3 && Math.Abs(cursorPos.Y - lastCursorPos.Y) < 3)
|
||||
StartAliveTimer(11, 2000);
|
||||
else
|
||||
StartAliveTimer(11, 1000);
|
||||
return;
|
||||
}
|
||||
else if (hCursor == Cursors.Cross.Handle || handCursor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue