[meld] linkmap: Reduce radius on culled chunk drawing to get a flat section



commit 3773f009b8a3093697651742db98607f5497b464
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Fri Apr 25 08:06:34 2014 +1000

    linkmap: Reduce radius on culled chunk drawing to get a flat section

 meld/linkmap.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/linkmap.py b/meld/linkmap.py
index 8cb7f7a..699d955 100644
--- a/meld/linkmap.py
+++ b/meld/linkmap.py
@@ -70,7 +70,7 @@ class LinkMap(Gtk.DrawingArea):
         # For bezier control points
         x_steps = [-0.5, (1. / 3) * wtotal, (2. / 3) * wtotal, wtotal + 0.5]
         # Rounded rectangle corner radius for culled changes display
-        radius = self.line_height // 2
+        radius = self.line_height // 3
         q_rad = math.pi / 2
 
         left, right = self.view_indices


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]