Improved the indication of the current branches head in the Mercurial log browser dialog.

Sat, 18 Feb 2012 16:20:52 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 18 Feb 2012 16:20:52 +0100
changeset 1637
b60eb2fdbaea
parent 1636
6a25bb84e2a3
child 1638
cd2f9e526710

Improved the indication of the current branches head in the Mercurial log browser dialog.

Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py file | annotate | diff | comparison | revisions
diff -r 6a25bb84e2a3 -r b60eb2fdbaea Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sat Feb 18 16:10:22 2012 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Sat Feb 18 16:20:52 2012 +0100
@@ -339,10 +339,11 @@
         # draw a dot for the revision
         if currentRev:
             # enlarge dot for the current revision
-            delta = 2
+            delta = 1
             radius += 2 * delta
             dot_y -= delta
             dot_x -= delta
+            penradius = 3
         painter.setBrush(dotColor)
         pen = QPen(pencolor)
         pen.setWidth(penradius)

eric ide

mercurial