From: dooglus Date: Mon, 1 Oct 2007 21:49:02 +0000 (+0000) Subject: Only fix the red border if we're not using the Gtk frame background color to draw... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=409b41a1b5442853d5c0cabecbd070418308584a;p=synfig.git Only fix the red border if we're not using the Gtk frame background color to draw the red border. git-svn-id: http://svn.voria.com/code@808 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/workarea.cpp b/synfig-studio/trunk/src/gtkmm/workarea.cpp index 5ab2563..f9b529d 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.cpp +++ b/synfig-studio/trunk/src/gtkmm/workarea.cpp @@ -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; }