mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-14 02:26:50 -07:00
Fix trace value not appearing after touch input (#1120)
This commit is contained in:
parent
25399c75d9
commit
ded99f87b4
2 changed files with 1 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue