Commits

Yuya Nishihara committed 9c68cfa

annotate: also update status message on mouse move around margin/empty lines

Follows up 86653e6d48b3.

Comments (0)

Files changed (1)

tortoisehg/hgqt/fileview.py

         return super(AnnotateView, self).keyPressEvent(event)
 
     def mouseMoveEvent(self, event):
-        self._emitRevisionHintAtLine(self.lineAt(event.pos()))
+        self._emitRevisionHintAtLine(self.lineNearPoint(event.pos()))
         super(AnnotateView, self).mouseMoveEvent(event)
 
     def _emitRevisionHintAtLine(self, line):