--- a/client/js/renderer/scene.js Tue Jan 13 10:20:01 2015 +0100
+++ b/client/js/renderer/scene.js Tue Jan 13 10:29:47 2015 +0100
@@ -1303,7 +1303,7 @@
var foldBinsButton = this.$.find(".Rk-Fold-Bins"),
bins = this.renkan.$.find(".Rk-Bins");
var _this = this,
- sizeBef = _this.$.width(),
+ sizeBef = _this.canvas_$.width(),
sizeAft;
if (bins.position().left < 0) {
bins.animate({left: 0},250);
@@ -1311,7 +1311,7 @@
var w = _this.$.width();
paper.view.viewSize = new paper.Size([w, _this.canvas_$.height()]);
});
- if ((sizeBef - bins.width()) < bins.width()){
+ if ((sizeBef - bins.width()) < bins.height()){
sizeAft = sizeBef;
} else {
sizeAft = sizeBef - bins.width();