diff options
author | Thomas White <taw@physics.org> | 2011-05-24 12:00:44 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2011-05-24 12:00:44 +0200 |
commit | 3885e41994b556b2f23290a245c1258f0ee34fae (patch) | |
tree | fef5758e7cf762c0bb74809ac645b568f5948467 | |
parent | d9daff9d8d5a41443c96e574d6ed20a3885e709c (diff) |
Add some border inside the editing box
-rw-r--r-- | src/mainwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index aa342ff..f88c368 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -190,7 +190,7 @@ static void draw_editing_box(cairo_t *cr, double xmin, double ymin, double width, double height) { cairo_new_path(cr); - cairo_rectangle(cr, xmin, ymin, width, height); + cairo_rectangle(cr, xmin-5.0, ymin-5.0, width+10.0, height+10.0); cairo_set_source_rgb(cr, 1.0, 0.0, 0.0); cairo_set_line_width(cr, 1.0); cairo_stroke(cr); |