mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 21:33:10 -07:00
Null Check in RenderMain::CanRenderPoint (#1316)
This commit is contained in:
parent
96700ceb97
commit
ed7bfb8142
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ namespace GraphControl::DX
|
|||
|
||||
bool RenderMain::CanRenderPoint()
|
||||
{
|
||||
if (m_drawNearestPoint || m_drawActiveTracing)
|
||||
if (m_graph && (m_drawNearestPoint || m_drawActiveTracing))
|
||||
{
|
||||
Point trackPoint = m_pointerLocation;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue