From a8d796f787f10e8f867c4e324704da2c7e7a49f3 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Sat, 2 Mar 2013 21:23:17 +0100 Subject: [PATCH] Fix Q*bertify example. --- examples/Paperjs.org/Q*bertify.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/Paperjs.org/Q*bertify.html b/examples/Paperjs.org/Q*bertify.html index cfa1864f..743b5b00 100644 --- a/examples/Paperjs.org/Q*bertify.html +++ b/examples/Paperjs.org/Q*bertify.html @@ -65,6 +65,7 @@ // Transform the raster, so it fills the view: raster.fitBounds(view.bounds, true); group = new Group(); + group.applyMatrix = true; for (var y = 0; y < values.amount; y++) { for (var x = 0; x < values.amount; x++) { var copy = piece.clone(); @@ -72,6 +73,7 @@ group.addChild(copy); } } + // Transform the group so it covers the view: group.fitBounds(view.bounds, true); group.scale(1.1); @@ -134,5 +136,6 @@ + \ No newline at end of file