Skip to content

Commit

Permalink
Merge pull request #18846 from ramezgerges/remove_uwp_gesturerecognizer
Browse files Browse the repository at this point in the history
chore: remove duplicates from Uno.UWP
  • Loading branch information
jeromelaban authored Nov 22, 2024
2 parents 78e0121 + 022cb54 commit 6064d35
Show file tree
Hide file tree
Showing 57 changed files with 533 additions and 3,709 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
using Uno.Extensions;
using Uno.UI.RuntimeTests.Helpers;

#if HAS_UNO_WINUI
using GestureRecognizer = Microsoft.UI.Input.GestureRecognizer;
#else
using GestureRecognizer = Windows.UI.Input.GestureRecognizer;
#endif

namespace Uno.UI.RuntimeTests.Tests.Uno_UI_Xaml_Core;

[TestClass]
Expand Down Expand Up @@ -87,7 +93,7 @@ public async Task When_LeaveElementWhileManipulating_Then_CaptureNotLost()
HorizontalAlignment = HorizontalAlignment.Center,
VerticalAlignment = VerticalAlignment.Center,
Width = 16,
Height = Windows.UI.Input.GestureRecognizer.Manipulation.StartTouch.TranslateY * 3,
Height = GestureRecognizer.Manipulation.StartTouch.TranslateY * 3,
Background = new SolidColorBrush(Colors.DeepPink),
ManipulationMode = ManipulationModes.TranslateY,
RenderTransform = (transform = new TranslateTransform())
Expand Down
Loading

0 comments on commit 6064d35

Please sign in to comment.