Only fix the red border if we're not using the Gtk frame background color to draw...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 1 Oct 2007 21:49:02 +0000 (21:49 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 1 Oct 2007 21:49:02 +0000 (21:49 +0000)
git-svn-id: http://svn.voria.com/code@808 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/workarea.cpp

index 5ab2563..f9b529d 100644 (file)
@@ -2470,6 +2470,7 @@ WorkArea::queue_scroll()
                drawing_area->queue_draw_area(4-dx, 4-dy, 4-dx+timecode_width, 4-dy+timecode_height);
        }
 
+#ifndef USE_FRAME_BACKGROUND_TO_SHOW_EDIT_MODE
        if(canvas_interface->get_mode()&synfigapp::MODE_ANIMATE)
        {
                int maxx = drawing_area->get_width()-1;
@@ -2496,6 +2497,7 @@ WorkArea::queue_scroll()
                        drawing_area->queue_draw_area(0,     -dy, maxx,     -dy);
                }
        }
+#endif // USE_FRAME_BACKGROUND_TO_SHOW_EDIT_MODE
 
        last_focus_point=focus_point;
 }