diff options
author | Gary Martin <gary@garycmartin.com> | 2008-12-20 02:16:33 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2008-12-20 02:16:33 (GMT) |
commit | f6229760f0c92fbc658bc4f3bcf55f096967c435 (patch) | |
tree | 4ced287f6d907bff73dd9512e279d3474e1131b2 /src | |
parent | a4f7e374c4bcc32c106fe640937021c98c217445 (diff) |
Removed the fill on the bbox so you can see what you're selecting...
Diffstat (limited to 'src')
-rw-r--r-- | src/MMapArea.py | 14 |
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 () |