[Kst] branches/work/kst/portto4/kst/src/libkstapp
Mike Fenton
mike at staikos.net
Tue Feb 3 19:53:38 CET 2009
SVN commit 920762 by fenton:
Fix highlight point not drawing without reference point.
M +1 -1 plotrenderitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/plotrenderitem.cpp #920761:920762
@@ -286,7 +286,7 @@
void PlotRenderItem::paintHighlightPoint(QPainter *painter) {
- if (_highlightPointActive && kstApp->mainWindow()->isDataMode() && plotItem()->projectionRect().contains(_referencePoint)) {
+ if (_highlightPointActive && kstApp->mainWindow()->isDataMode() && plotItem()->projectionRect().contains(_highlightPoint)) {
QPointF point = plotItem()->mapToPlot(_highlightPoint);
painter->save();
painter->setPen(QPen(QColor("gray"), 1));
More information about the Kst
mailing list