summaryrefslogtreecommitdiffstats
path: root/Project/Line.cpp
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-09-01 18:23:35 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-09-01 18:23:35 -0300
commitb817a3f0e398c7e938ed1a37ebdbfc5a03eb7471 (patch)
tree2d3b71b7ec3bafe8978eeb958baeb635354df029 /Project/Line.cpp
parent8f475833e585692544cb0f481b0dce0c3439a1a9 (diff)
downloadPSP.git-b817a3f0e398c7e938ed1a37ebdbfc5a03eb7471.tar.gz
PSP.git-b817a3f0e398c7e938ed1a37ebdbfc5a03eb7471.tar.xz
PSP.git-b817a3f0e398c7e938ed1a37ebdbfc5a03eb7471.zip
generator under implementation
Diffstat (limited to 'Project/Line.cpp')
-rw-r--r--Project/Line.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Project/Line.cpp b/Project/Line.cpp
index 26be112..f26b6f6 100644
--- a/Project/Line.cpp
+++ b/Project/Line.cpp
@@ -30,9 +30,9 @@ void Line::Draw(wxPoint2DDouble translation, double scale) const
// Draw nodes selection.
if(pointList.size() > 0) {
- DrawCircle(pointList[0], 5.0 + m_borderSize, 10, GL_POLYGON);
+ DrawCircle(pointList[0], 5.0 + m_borderSize / scale, 10, GL_POLYGON);
if(m_inserted) {
- DrawCircle(pointList[pointList.size() - 1], 5.0 + m_borderSize, 10, GL_POLYGON);
+ DrawCircle(pointList[pointList.size() - 1], 5.0 + m_borderSize / scale, 10, GL_POLYGON);
}
}
}