[meld] linkmap: Adjust bezier control points for a smoother appearance
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] linkmap: Adjust bezier control points for a smoother appearance
- Date: Sat, 8 Oct 2016 00:22:58 +0000 (UTC)
commit 84be0c04cedf0c620428ea7ba00d3ac7644f0d65
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Oct 8 08:21:20 2016 +1000
linkmap: Adjust bezier control points for a smoother appearance
meld/linkmap.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/linkmap.py b/meld/linkmap.py
index 895d455..f7f7e63 100644
--- a/meld/linkmap.py
+++ b/meld/linkmap.py
@@ -74,7 +74,7 @@ class LinkMap(Gtk.DrawingArea):
wtotal = allocation.width
# For bezier control points
- x_steps = [-0.5, (1. / 3) * wtotal, (2. / 3) * wtotal, wtotal + 0.5]
+ x_steps = [-0.5, wtotal / 2, wtotal / 2, wtotal + 0.5]
q_rad = math.pi / 2
left, right = self.view_indices
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]