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