diff --git a/qtsgraph.cpp b/qtsgraph.cpp index 98b96f8..07d6c38 100644 --- a/qtsgraph.cpp +++ b/qtsgraph.cpp @@ -305,7 +305,7 @@ void QTSGraph::paintEvent(QPaintEvent *event) p.drawText(2, Canvas.height() / 4 - 2, QString::number(mult * Canvas.height() / 4)); p.drawLine(3 * Canvas.width() / 4, 0, 3 * Canvas.width() / 4, Canvas.height() - 1); - p.drawLine(0, 3 * Canvas.height() / 4 - 1, Canvas.width() - 1, 3 * Canvas.height() / 4 - correctY); + p.drawLine(0, 3 * Canvas.height() / 4 - correctY, Canvas.width() - 1, 3 * Canvas.height() / 4 - correctY); p.drawText(3 * Canvas.width() / 4 + 2, 12, QString::number(3 * Canvas.width() / 4)); mult = correctY ? 1 : 3; p.drawText(2, 3 * Canvas.height() / 4 - 2, QString::number(mult * Canvas.height() / 4)); diff --git a/screenshots/coord-swap-yex.png b/screenshots/coord-swap-yex.png new file mode 100644 index 0000000..d5e260f Binary files /dev/null and b/screenshots/coord-swap-yex.png differ diff --git a/screenshots/wincoordex.png b/screenshots/wincoordex.png new file mode 100644 index 0000000..485106f Binary files /dev/null and b/screenshots/wincoordex.png differ