Fix trace value not appearing after touch input (#1120)

This commit is contained in:
Pepe Rivera 2020-04-01 09:12:14 -07:00 committed by GitHub
parent 25399c75d9
commit ded99f87b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View File

@ -616,7 +616,6 @@ namespace GraphControl
if (m_renderMain)
{
OnPointerMoved(e);
m_renderMain->DrawNearestPoint = true;
e->Handled = true;
}
@ -639,6 +638,7 @@ namespace GraphControl
{
if (m_renderMain)
{
m_renderMain->DrawNearestPoint = true;
Point currPosition = e->GetCurrentPoint(/* relativeTo */ this)->Position;
if (m_renderMain->ActiveTracing)

View File

@ -86,12 +86,6 @@ namespace GraphControl::DX
{
m_Tracing = false;
}
bool wasPointRendered = m_Tracing;
if (CanRenderPoint() || wasPointRendered)
{
RunRenderPassAsync();
}
}
}