Mercurial > projects > doodle
diff doodle/gtk/canvas.d @ 34:c2f11e1d7470
Geometry cleanup and checkpoint.
author | David Bryant <bagnose@gmail.com> |
---|---|
date | Sun, 30 Aug 2009 15:32:12 +0930 |
parents | 1754cb773d41 |
children | 3f6bb0bb22dc |
line wrap: on
line diff
--- a/doodle/gtk/canvas.d Sun Aug 30 01:34:14 2009 +0930 +++ b/doodle/gtk/canvas.d Sun Aug 30 15:32:12 2009 +0930 @@ -191,7 +191,7 @@ assert(layer_bounds.valid); - mCanvasBounds = layer_bounds.moved(-layer_bounds.size).expanded(2.0 * layer_bounds.size); + mCanvasBounds = expand(move(layer_bounds, -layer_bounds.size), 2.0 * layer_bounds.size); mViewCentre = mCanvasBounds.centre; mHadConfigure = true;