mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
avoid excessive restore cycle
This commit is contained in:
parent
d90829735d
commit
b3acca721f
1 changed files with 5 additions and 0 deletions
|
@ -633,6 +633,11 @@ namespace Ninjacrab.PersistentWindows.Common
|
|||
{
|
||||
lock (controlLock)
|
||||
{
|
||||
if (!restoringWindowPos)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
CancelCaptureTimer();
|
||||
|
||||
if (restoreNestLevel > 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue