Skip to content

Commit ff1afb5

Browse files
[create-pull-request] automated change
1 parent 42ca2bd commit ff1afb5

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue17204.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ namespace Microsoft.Maui.TestCases.Tests.Issues;
66

77
public class Issue17204 : _IssuesUITest
88
{
9-
public override string Issue => "SwipeView does not work correctly on iOS when opened programmatically";
9+
public override string Issue => "SwipeView does not work correctly on iOS when opened programmatically";
1010

11-
public Issue17204(TestDevice device)
12-
: base(device)
13-
{ }
11+
public Issue17204(TestDevice device)
12+
: base(device)
13+
{ }
1414

15-
[Test]
16-
[Category(UITestCategories.SwipeView)]
17-
public void ProgrammaticallyOpenedSwipeViewShouldBeVisible()
18-
{
19-
App.WaitForElement("OpenSwipeViewButton");
20-
App.Tap("OpenSwipeViewButton");
21-
VerifyScreenshot();
22-
}
15+
[Test]
16+
[Category(UITestCategories.SwipeView)]
17+
public void ProgrammaticallyOpenedSwipeViewShouldBeVisible()
18+
{
19+
App.WaitForElement("OpenSwipeViewButton");
20+
App.Tap("OpenSwipeViewButton");
21+
VerifyScreenshot();
22+
}
2323
}
2424
#endif

src/Graphics/src/Graphics/Platforms/Windows/PlatformImage.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ public IImage Downsize(float maxWidth, float maxHeight, bool disposeOriginal = f
6565
return ResizeInternal(maxWidth, maxHeight, 0, 0, maxWidth, maxHeight, disposeOriginal);
6666
}
6767

68-
68+
6969
IImage ResizeInternal(float canvasWidth, float canvasHeight, float drawX, float drawY, float drawWidth, float drawHeight, bool disposeOriginal)
70-
{
70+
{
7171
using var renderTarget = new CanvasRenderTarget(_creator, canvasWidth, canvasHeight, _bitmap.Dpi);
7272

7373
using (var drawingSession = renderTarget.CreateDrawingSession())
@@ -101,7 +101,7 @@ IImage ResizeInternal(float canvasWidth, float canvasHeight, float drawX, float
101101
{
102102
throw saveException;
103103
}
104-
104+
105105
resizedStream.Seek(0);
106106

107107
var newImage = FromStream(resizedStream.AsStreamForRead());

0 commit comments

Comments
 (0)