--- a/client/js/paper-renderer.js Thu Feb 13 13:30:32 2014 +0100
+++ b/client/js/paper-renderer.js Thu Feb 13 16:38:51 2014 +0100
@@ -1820,7 +1820,10 @@
bindClick(".Rk-Fold-Bins", "foldBins");
paper.view.onResize = function(_event) {
- _this.offset = _this.offset.add(_event.delta.divide(2));
+ // Because of paper bug which does not calculate the good height (and width a fortiori)
+ // We have to update manually the canvas's height
+ paper.view._viewSize.height = _event.size.height = _this.canvas_$.parent().height();
+
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]));