Commit 86e379ef authored by Aleks Kissinger's avatar Aleks Kissinger

arrow issue (fixes #51)

parent 97c2a2a7
......@@ -409,7 +409,7 @@ QPointF Edge::bezierTangent(qreal start, qreal end) const
// normalise
qreal len = sqrt(dx*dx + dy*dy);
if (almostZero(len)) {
if (!almostZero(len)) {
dx = (dx / len) * 0.1;
dy = (dy / len) * 0.1;
}
......
......@@ -49,7 +49,7 @@
#ifndef TIKZIT_H
#define TIKZIT_H
#define TIKZIT_VERSION "2.1.0"
#define TIKZIT_VERSION "2.1.1"
#include "mainwindow.h"
#include "mainmenu.h"
......
......@@ -2,7 +2,7 @@
QT += core gui widgets network
VERSION = 2.1
VERSION = 2.1.1
test {
CONFIG += testcase
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment