mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
Update Grapher.cpp
This commit is contained in:
parent
f8f5473dac
commit
c9cc43e866
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ namespace GraphControl
|
||||||
|
|
||||||
// If the equation has changed, the IsLineEnabled state is reset.
|
// If the equation has changed, the IsLineEnabled state is reset.
|
||||||
// This checks if the equation has been reset and sets keepCurrentView to false in this case.
|
// This checks if the equation has been reset and sets keepCurrentView to false in this case.
|
||||||
const bool keepCurrentView = equation->HasGraphError || equation->IsValidated || !equation->IsLineEnabled)
|
const bool keepCurrentView = equation->HasGraphError || equation->IsValidated || !equation->IsLineEnabled;
|
||||||
|
|
||||||
PlotGraph(keepCurrentView);
|
PlotGraph(keepCurrentView);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue