Changeset 4185cb4 in OpenModelica
- Timestamp:
- 2021-06-08T13:48:23+02:00 (3 years ago)
- Parents:
- 3a66b01
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp
r3a66b01 r4185cb4 977 977 if (secondLastIndex < mGeometries.size()) { 978 978 if (mGeometries.at(secondLastIndex) == ShapeAnnotation::HorizontalLine) { 979 mPoints .at(secondLastIndex)= QPointF(mPoints.at(secondLastIndex).x(), mPoints.at(secondLastIndex).y() + dy);979 mPoints[secondLastIndex] = QPointF(mPoints.at(secondLastIndex).x(), mPoints.at(secondLastIndex).y() + dy); 980 980 } else if (mGeometries.at(secondLastIndex) == ShapeAnnotation::VerticalLine) { 981 mPoints .at(secondLastIndex)= QPointF(mPoints.at(secondLastIndex).x() + dx, mPoints.at(secondLastIndex).y());981 mPoints[secondLastIndex] = QPointF(mPoints.at(secondLastIndex).x() + dx, mPoints.at(secondLastIndex).y()); 982 982 } 983 983 updateCornerItem(secondLastIndex);
Note: See TracChangeset
for help on using the changeset viewer.