diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-29 19:03:16 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-29 19:03:16 -0200 |
commit | 7aed88dbcf9d37a1f40c8cad115f055c4d69e7a9 (patch) | |
tree | f8c67b159a77c61b1a67ffa8ae8f39959cdfbb0f /Project/Workspace.h | |
parent | c5343c718cf80620c2fc7452a4315f7ddb9e5826 (diff) | |
download | PSP.git-7aed88dbcf9d37a1f40c8cad115f055c4d69e7a9.tar.gz PSP.git-7aed88dbcf9d37a1f40c8cad115f055c4d69e7a9.tar.xz PSP.git-7aed88dbcf9d37a1f40c8cad115f055c4d69e7a9.zip |
Parent/child optimization implemented
And others bugfixes.
Diffstat (limited to 'Project/Workspace.h')
-rw-r--r-- | Project/Workspace.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Project/Workspace.h b/Project/Workspace.h index 21a1a56..fe2a25f 100644 --- a/Project/Workspace.h +++ b/Project/Workspace.h @@ -91,7 +91,8 @@ public: void ValidateBusesVoltages(Element* initialBus); void ValidateElementsVoltages(); - + + void UpdateElementsID(); void UpdateTextElements(); int GetElementNumber(ElementID elementID) { return m_elementNumber[elementID]; } @@ -159,7 +160,7 @@ protected: wxPoint2DDouble m_mousePosition; - double m_zoomMin = 0.05; + double m_zoomMin = 0.01; double m_zoomMax = 3.0; }; |