Added copyright lines for files I've edited this year.
[synfig.git] / synfig-studio / trunk / src / gtkmm / renderer_ducks.cpp
index cab4d95..fb5a609 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2007, 2008 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -236,7 +237,7 @@ Renderer_Ducks::render_vfunc(
                }
 
                bool selected(get_work_area()->duck_is_selected(*iter));
-               bool hover(*iter==hover_duck);
+               bool hover(*iter==hover_duck || (*iter)->get_hover());
 
                shadow = selected?Gtk::SHADOW_IN:Gtk::SHADOW_OUT;