Browse Source
Update tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
Co-Authored-By: donandren <donandren@gmail.com>
pull/2297/head
Steven Kirk
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
tests/Avalonia.Layout.UnitTests/LayoutManagerTests.cs
|
|
|
@ -253,7 +253,7 @@ namespace Avalonia.Layout.UnitTests |
|
|
|
{ |
|
|
|
//emulate a problem in the logic of a control that triggers
|
|
|
|
//invalidate measure during measure
|
|
|
|
//it can lead to infinity loop in layoutmanager
|
|
|
|
//it can lead to an infinite loop in layoutmanager
|
|
|
|
if (++cnt < maxcnt) |
|
|
|
{ |
|
|
|
control.InvalidateMeasure(); |
|
|
|
|