Public Access
Fix taskbar glyph bounds assertion
PR and Push Build/Test / build-and-test (push) Successful in 9m23s
PR and Push Build/Test / build-and-test (push) Successful in 9m23s
This commit is contained in:
@@ -157,7 +157,7 @@ public sealed class TaskbarIconTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
Assert.True(right >= left && bottom >= top, "Expected the icon to contain a visible white glyph.");
|
Assert.True(right >= left && bottom >= top, "Expected the icon to contain a visible white glyph.");
|
||||||
return Rectangle.FromLTRB(left, top, right, bottom);
|
return Rectangle.FromLTRB(left, top, right + 1, bottom + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static double GetCenter(int start, int end)
|
private static double GetCenter(int start, int end)
|
||||||
|
|||||||
Reference in New Issue
Block a user