mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-12 13:35:39 +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,10 +823,8 @@ namespace PersistentWindows.Common
|
||||||
if (!PersistentWindowProcessor.IsBrowserWindow(fgwnd))
|
if (!PersistentWindowProcessor.IsBrowserWindow(fgwnd))
|
||||||
{
|
{
|
||||||
if (browserWindowActivated)
|
if (browserWindowActivated)
|
||||||
{
|
|
||||||
StartAliveTimer(6, 1000);
|
StartAliveTimer(6, 1000);
|
||||||
return;
|
else
|
||||||
}
|
|
||||||
Visible = false;
|
Visible = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -880,7 +878,7 @@ namespace PersistentWindows.Common
|
||||||
{
|
{
|
||||||
// wait for possible menu selection within webpage
|
// wait for possible menu selection within webpage
|
||||||
++totalWaitSecondsForWhiteColor;
|
++totalWaitSecondsForWhiteColor;
|
||||||
if (totalWaitSecondsForWhiteColor < 3)
|
if (Visible && totalWaitSecondsForWhiteColor < 3)
|
||||||
{
|
{
|
||||||
StartAliveTimer(11, 1000);
|
StartAliveTimer(11, 1000);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue