[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Jan 29 02:26:11 CET 2004


CVS commit by staikos: 

Sometimes I get too focused :)


  M +1 -2      kstplot.cpp   1.38


--- kdeextragear-2/kst/kst/kstplot.cpp  #1.37:1.38
@@ -894,6 +894,5 @@ void KstPlot::drawDotAt(QPainter& p, dou
   Y1 = PlotRegion.height() * (y_max - y) / (y_max - y_min) + PlotRegion.top();
 
-  if (X1 > PlotRegion.right() || X1 < PlotRegion.left() ||
-      Y1 < PlotRegion.top() || Y1 > PlotRegion.bottom()) {
+  if (!PlotRegion.contains(X1, Y1)) {
     return;
   }





More information about the Kst mailing list