--- a/client/js/renderer/scene.js Thu Mar 12 11:00:47 2015 +0100
+++ b/client/js/renderer/scene.js Fri Mar 13 12:00:48 2015 +0100
@@ -283,8 +283,11 @@
newWidth= _this.canvas_$.parent().width(),
newHeight = _this.canvas_$.parent().height();
+ // Because of paper bug which does not calculate the good height and width
+ // We have to update manually the canvas's height and width
paper.view._viewSize.height = _event.size.height = _this.canvas_$.parent().height();
-
+ paper.view._viewSize.width = _event.size.height = _this.canvas_$.parent().width();
+
if (_this.minimap) {
_this.minimap.topleft = paper.view.bounds.bottomRight.subtract(_this.minimap.size);
_this.minimap.rectangle.fitBounds(_this.minimap.topleft.subtract([2,2]), _this.minimap.size.add([4,4]));