Added my "Copyright (c) 2007" notices, for files I edited in 2007.
[synfig.git] / synfig-studio / trunk / src / gtkmm / workarea.cpp
index 22b0526..f2b932f 100644 (file)
@@ -6,7 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-**     Copyright 2006 Yue Shi Lai
+**     Copyright (c) 2006 Yue Shi Lai
 **     Copyright (c) 2007 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
@@ -1921,6 +1921,9 @@ WorkArea::refresh_dimension_info()
        pw=canvaswidth/w;
        ph=canvasheight/h;
 
+       Duckmatic::set_flip_x(pw < 0);
+       Duckmatic::set_flip_y(ph > 0);
+
        scrollx_adjustment.set_page_increment(abs(get_grid_size()[0]));
        scrollx_adjustment.set_step_increment(abs(pw));
        scrollx_adjustment.set_lower(-abs(canvaswidth));