#172: Fixed
This commit is contained in:
@@ -52,6 +52,7 @@ namespace FoxTube
|
||||
public event ObjectEventHandler NextClicked;
|
||||
|
||||
CoreCursor cursorBackup = Window.Current.CoreWindow.PointerCursor;
|
||||
Point cursorPositionBackup;
|
||||
|
||||
public TimeSpan elapsed;
|
||||
TimeSpan remaining;
|
||||
@@ -246,7 +247,10 @@ namespace FoxTube
|
||||
if (!miniView)
|
||||
touchCentral.Visibility = Visibility.Collapsed;
|
||||
if (pointerCaptured)
|
||||
{
|
||||
cursorPositionBackup = Window.Current.CoreWindow.PointerPosition;
|
||||
Window.Current.CoreWindow.PointerCursor = null;
|
||||
}
|
||||
seekIndicator.Visibility = Visibility.Collapsed;
|
||||
t.Stop();
|
||||
}
|
||||
@@ -304,6 +308,10 @@ namespace FoxTube
|
||||
|
||||
private void UserControl_PointerMoved(object sender, PointerRoutedEventArgs e)
|
||||
{
|
||||
if (cursorPositionBackup == null)
|
||||
cursorPositionBackup = Window.Current.CoreWindow.PointerPosition;
|
||||
else if (cursorPositionBackup == Window.Current.CoreWindow.PointerPosition)
|
||||
return;
|
||||
ShowControls();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user