Code

fix off-by-one with line drawing
authormental <mental@users.sourceforge.net>
Sat, 28 Jul 2007 03:03:40 +0000 (03:03 +0000)
committermental <mental@users.sourceforge.net>
Sat, 28 Jul 2007 03:03:40 +0000 (03:03 +0000)
src/ui/dialog/filter-effects-dialog.cpp

index 53619914b2b88adebfd509b7593abfe6404c6198..1d7d7d0026ab31d787b92df371b502e63def444a 100644 (file)
@@ -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<Gdk::Point> con_poly;
         int con_drag_y;