]> git.sesse.net Git - kdenlive/commitdiff
Fix paint & move issue with guides
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 8 Dec 2009 15:42:50 +0000 (15:42 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 8 Dec 2009 15:42:50 +0000 (15:42 +0000)
svn path=/trunk/kdenlive/; revision=4175

src/guide.cpp

index 541a209c95cf17b6969d266d1ae060697cf4b5a3..49b304c71cc03693c0befda83ac9885dddcd847b 100644 (file)
@@ -125,7 +125,7 @@ QRectF Guide::boundingRect() const
     double width = m_pen.widthF() / scale * 2;
     QRectF rect(line().x1() - width / 2 , line().y1(), width, line().y2() - line().y1());
     if (KdenliveSettings::showmarkers()) {
-        rect.setWidth(width + m_width / scale);
+        rect.setWidth(width + m_width);
     }
     return rect;
 }