Remove the special case code for when the screen is 'flipped'. Arbitrary transformat...
[synfig.git] / synfig-studio / trunk / src / gtkmm / state_circle.cpp
index 72700a4..244862d 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 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
@@ -493,8 +494,8 @@ StateCircle_Context::event_mouse_click_handler(const Smach::event& x)
 
                if (App::restrict_radius_ducks)
                {
-                       if ((point[0] - point_holder[0]) * get_work_area()->get_pw() < 0) point[0] = point_holder[0];
-                       if ((point[1] - point_holder[1]) * get_work_area()->get_ph() > 0) point[1] = point_holder[1];
+                       if ((point[0] - point_holder[0]) < 0) point[0] = point_holder[0];
+                       if ((point[1] - point_holder[1]) < 0) point[1] = point_holder[1];
                }
 
                make_circle(point_holder, point);