forked from Manuel/meeting-assistant
Fix taskbar glyph bounds assertion
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.");
|
||||
return Rectangle.FromLTRB(left, top, right, bottom);
|
||||
return Rectangle.FromLTRB(left, top, right + 1, bottom + 1);
|
||||
}
|
||||
|
||||
private static double GetCenter(int start, int end)
|
||||
|
||||
Reference in New Issue
Block a user