[Kst] branches/work/kst/portto4/kst

Barth Netterfield netterfield at astro.utoronto.ca
Thu Feb 4 19:25:09 CET 2010


SVN commit 1085244 by netterfield:

Erase data mode markers when the mouse leaves the window.



 M  +0 -8      devel-docs/Kst2Specs/Bugs  
 M  +2 -0      src/libkstapp/plotrenderitem.cpp  


--- branches/work/kst/portto4/kst/devel-docs/Kst2Specs/Bugs #1085243:1085244
@@ -20,14 +20,6 @@
 
 --------------------
 
-If you turn on data mode, the data mode indicator on the plot (grey
-filled circle) remains, even after you scroll your mouse to a new plot.
-If in "live" mode, the indicator will scroll with the plot until it
-disappears off the edge.  If you turn off datamode all shown indicators
-disappear, but if you turn it on, those ones reappear.  
-
---------------------
-
 When in data mode, the position of the data mode indicator and the
 values in the bottom status bar only update if you move the mouse.  When
 live data is scrolling by and the mouse is still, the data mode
--- branches/work/kst/portto4/kst/src/libkstapp/plotrenderitem.cpp #1085243:1085244
@@ -627,6 +627,8 @@
 void PlotRenderItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event) {
   ViewItem::hoverLeaveEvent(event);
 
+  _highlightPointActive = false;
+
   if (parentView()->viewMode() != View::Data) {
     event->ignore();
     return;


More information about the Kst mailing list