From 6779a77f974ac5fb13282c76b352684905cbdaeb Mon Sep 17 00:00:00 2001 From: mental Date: Sat, 28 Jul 2007 03:03:40 +0000 Subject: [PATCH] fix off-by-one with line drawing --- src/ui/dialog/filter-effects-dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index 53619914b..1d7d7d002 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -761,7 +761,7 @@ bool FilterEffectsDialog::PrimitiveList::on_expose_signal(GdkEventExpose* e) get_bin_window()->draw_line(darkgc, x, y + h, outline_x, y + h); // Side outline - get_bin_window()->draw_line(darkgc, outline_x, y, outline_x, y + h); + get_bin_window()->draw_line(darkgc, outline_x, y - 1, outline_x, y + h); std::vector con_poly; int con_drag_y; -- 2.30.2