Fix trace value not appearing after touch input (#1120)
This commit is contained in:
parent
25399c75d9
commit
ded99f87b4
@ -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)
|
||||
|
@ -86,12 +86,6 @@ namespace GraphControl::DX
|
||||
{
|
||||
m_Tracing = false;
|
||||
}
|
||||
|
||||
bool wasPointRendered = m_Tracing;
|
||||
if (CanRenderPoint() || wasPointRendered)
|
||||
{
|
||||
RunRenderPassAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user