[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kst/portto4/kst/src/libkstapp
From: Barth Netterfield <netterfield () astro ! utoronto ! ca>
Date: 2012-07-09 22:41:39
Message-ID: 20120709224139.57B29AC7AB () svn ! kde ! org
[Download RAW message or body]
SVN commit 1304943 by netterfield:
Make lines start exactly where you ask them to.
M +1 -1 lineitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/lineitem.cpp #1304942:1304943
@@ -129,7 +129,7 @@
if (event == View::MousePress) {
const QPolygonF poly = mapFromScene(view()->creationPolygon(View::MousePress));
setPos(poly.first().x(), poly.first().y());
- setViewRect(QRectF(0.0, 0.0, 0.0, sizeOfGrip().height()));
+ setViewRect(QRectF(0.0, -sizeOfGrip().height()*0.5, 0.0, sizeOfGrip().height()));
view()->scene()->addItem(this);
return;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic