From 379aa362ab38e48f8250bb47841cdad7abd77f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?syuilo=E2=AD=90=EF=B8=8F?= Date: Tue, 21 Feb 2017 01:13:24 +0900 Subject: [PATCH] Update window.tag --- src/web/app/desktop/tags/window.tag | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/web/app/desktop/tags/window.tag b/src/web/app/desktop/tags/window.tag index d2b3edb4d..3e7da9076 100644 --- a/src/web/app/desktop/tags/window.tag +++ b/src/web/app/desktop/tags/window.tag @@ -435,12 +435,12 @@ const move = me.clientY - base; if (top + height + move < browserHeight) { if (height + move > this.minHeight) { - return this.applyTransformHeight(height + move); + this.applyTransformHeight(height + move); } else { // 最小の高さより小さくなろうとした時 - return this.applyTransformHeight(this.minHeight); + this.applyTransformHeight(this.minHeight); } } else { // 下のはみ出し時 - return this.applyTransformHeight(browserHeight - top); + this.applyTransformHeight(browserHeight - top); } }); }; @@ -459,14 +459,14 @@ if (left + move > 0) { if (width + -move > this.minWidth) { this.applyTransformWidth(width + -move); - return this.applyTransformLeft(left + move); + this.applyTransformLeft(left + move); } else { // 最小の幅より小さくなろうとした時 this.applyTransformWidth(this.minWidth); - return this.applyTransformLeft(left + (width - this.minWidth)); + this.applyTransformLeft(left + (width - this.minWidth)); } } else { // 左のはみ出し時 this.applyTransformWidth(left + width); - return this.applyTransformLeft(0); + this.applyTransformLeft(0); } }); };