[pitivi] Curve: make the curve easier mouse traget by increasing line width
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] Curve: make the curve easier mouse traget by increasing line width
- Date: Wed, 24 Jun 2009 14:02:42 +0000 (UTC)
commit 652243665b1cc367d91ddf28f099f43d1a84554a
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date: Fri Jun 12 02:02:11 2009 +0200
Curve: make the curve easier mouse traget by increasing line width
pitivi/ui/curve.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/curve.py b/pitivi/ui/curve.py
index 9480456..b90b40c 100644
--- a/pitivi/ui/curve.py
+++ b/pitivi/ui/curve.py
@@ -207,6 +207,7 @@ class Curve(goocanvas.ItemSimple, goocanvas.Item, View, Zoomable):
x += self.bounds.x1
y += self.bounds.y1
self.make_curve(cr)
+ cr.set_line_width(10.0)
return cr.in_stroke(x, y) or bool(self.findKeyframe((x, y)))
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]