X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fworkarea.cpp;h=d7d61c00eb132c3f419ecbac18b6081ea85face3;hb=004105227d4dab3853d8b670193bde7734283010;hp=22b0526a640dc3581f4d27fe5f58cd5ead7a7f87;hpb=9d16b540d4311948c2fc91f765d24c2926e2c62b;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/workarea.cpp b/synfig-studio/trunk/src/gtkmm/workarea.cpp index 22b0526..d7d61c0 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.cpp +++ b/synfig-studio/trunk/src/gtkmm/workarea.cpp @@ -6,8 +6,8 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley -** Copyright 2006 Yue Shi Lai -** Copyright (c) 2007 Chris Moore +** Copyright (c) 2006 Yue Shi Lai +** 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 @@ -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));