From 66547a444232969b9d14f05888227635d68be7e8 Mon Sep 17 00:00:00 2001
From: a-puzo <puzzzo@gmail.com>
Date: Wed, 13 Feb 2013 06:35:19 +0400
Subject: [PATCH] Correct view centering

Fixed bad centering when `view.center` and `view.zoom` are changed
---
 src/ui/View.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ui/View.js b/src/ui/View.js
index 7dca20e4..d09ea24f 100644
--- a/src/ui/View.js
+++ b/src/ui/View.js
@@ -244,7 +244,7 @@ var View = this.View = Base.extend(Callback, /** @lends View# */{
 	},
 
 	_transform: function(matrix) {
-		this._matrix.preConcatenate(matrix);
+		this._matrix.concatenate(matrix);
 		// Force recalculation of these values next time they are requested.
 		this._bounds = null;
 		this._inverse = null;