Spice Simulator: set correct scale for constant plots

Fixes: lp:1772278
* https://bugs.launchpad.net/kicad/+bug/1772278
This commit is contained in:
Maciej Suminski 2018-05-28 16:41:12 +02:00
parent 2cb65f9c19
commit a8db21319f
1 changed files with 2 additions and 2 deletions

View File

@ -748,8 +748,8 @@ public:
if( m_minV == m_maxV )
{
m_minV = -1.0;
m_maxV = 1.0;
m_minV = m_minV - 1.0;
m_maxV = m_maxV + 1.0;
}
}