mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
webpage commander: unhide commander window quickly when browser window is activated
This commit is contained in:
parent
e5194d8660
commit
b1888cbf9b
1 changed files with 3 additions and 5 deletions
|
@ -823,11 +823,9 @@ namespace PersistentWindows.Common
|
|||
if (!PersistentWindowProcessor.IsBrowserWindow(fgwnd))
|
||||
{
|
||||
if (browserWindowActivated)
|
||||
{
|
||||
StartAliveTimer(6, 1000);
|
||||
return;
|
||||
}
|
||||
Visible = false;
|
||||
else
|
||||
Visible = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -880,7 +878,7 @@ namespace PersistentWindows.Common
|
|||
{
|
||||
// wait for possible menu selection within webpage
|
||||
++totalWaitSecondsForWhiteColor;
|
||||
if (totalWaitSecondsForWhiteColor < 3)
|
||||
if (Visible && totalWaitSecondsForWhiteColor < 3)
|
||||
{
|
||||
StartAliveTimer(11, 1000);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue