Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2008-12-20 02:16:33 (GMT)
committer Gary Martin <gary@garycmartin.com>2008-12-20 02:16:33 (GMT)
commitf6229760f0c92fbc658bc4f3bcf55f096967c435 (patch)
tree4ced287f6d907bff73dd9512e279d3474e1131b2 /src
parenta4f7e374c4bcc32c106fe640937021c98c217445 (diff)
Removed the fill on the bbox so you can see what you're selecting...
Diffstat (limited to 'src')
-rw-r--r--src/MMapArea.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/MMapArea.py b/src/MMapArea.py
index 8a23671..7c25c5e 100644
--- a/src/MMapArea.py
+++ b/src/MMapArea.py
@@ -819,17 +819,17 @@ class MMapArea (gtk.DrawingArea):
xe,ye = context.device_to_user_distance(xe, ye)
color = utils.selected_colors["border"]
- context.set_line_width(1.0)
+ context.set_line_width(2.0)
context.set_source_rgb(color[0], color[1], color[2])
context.rectangle(xs, ys, xe, ye)
context.stroke()
- color = utils.selected_colors["fill"]
- context.set_source_rgba(color[0], color[1], color[2], 0.3)
- context.rectangle(xs, ys, xe, ye)
- context.fill()
- context.set_line_width(2.0)
- context.set_source_rgba(0.0, 0.0, 0.0, 1.0)
+ #color = utils.selected_colors["fill"]
+ #context.set_source_rgba(color[0], color[1], color[2], 0.3)
+ #context.rectangle(xs, ys, xe, ye)
+ #context.fill()
+ #context.set_line_width(2.0)
+ #context.set_source_rgba(0.0, 0.0, 0.0, 1.0)
def undo_create_cb (self, action, mode):
self.undo.block ()