Skip to content

Commit 62ed49e

Browse files
committed
chore: Now deprecated
1 parent 9252761 commit 62ed49e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Uno.UI/UI/Xaml/UIElement.Android.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ partial void ApplyNativeClip(Rect rect)
172172
{
173173
_previousClip = rect;
174174

175+
#pragma warning disable CS0618 // deprecated members
175176
ViewCompat.SetClipBounds(this, null);
177+
#pragma warning restore CS0618 // deprecated members
176178
}
177179

178180
return;
@@ -187,7 +189,9 @@ partial void ApplyNativeClip(Rect rect)
187189
physicalRect.Height += fra.Height;
188190
}
189191

192+
#pragma warning disable CS0618 // deprecated members
190193
ViewCompat.SetClipBounds(this, physicalRect);
194+
#pragma warning restore CS0618 // deprecated members
191195

192196
if (FeatureConfiguration.UIElement.UseLegacyClipping)
193197
{

0 commit comments

Comments
 (0)