JavaScriptを色々あれこれしようとするがひたすら失敗を繰り返している
| Revision | 18 (tree) |
|---|---|
| Time | 2016-11-16 08:46:15 |
| Author | |
(empty log message)
| @@ -278,7 +278,7 @@ | ||
| 278 | 278 | let orgwidth = parseInt(this.clingingPartner.dataset.orgwidth); |
| 279 | 279 | let orgheight = parseInt(this.clingingPartner.dataset.orgheight); |
| 280 | 280 | let scaleY = (this.scaleStartHeight + moveY) / orgheight * 100; // ★さらに初期倍率設定値を掛ける必要がある |
| 281 | - this.renderFunc.enqueue(this.renderMouseMoveScale.bind(this, this.scaleStartWidth + moveX, this.scaleStartHeight + moveY, scaleX, scaleY)); | |
| 281 | + this.renderFunc.enqueue(this.renderMouseMoveScale.bind(this, this.scaleStartWidth + moveX, this.scaleStartHeight + moveY, scaleY)); | |
| 282 | 282 | } |
| 283 | 283 | break; |
| 284 | 284 | } |
| @@ -278,7 +278,7 @@ | ||
| 278 | 278 | let orgwidth = parseInt(this.clingingPartner.dataset.orgwidth); |
| 279 | 279 | let orgheight = parseInt(this.clingingPartner.dataset.orgheight); |
| 280 | 280 | let scaleY = (this.scaleStartHeight + moveY) / orgheight * 100; // ★さらに初期倍率設定値を掛ける必要がある |
| 281 | - this.renderFunc.enqueue(this.renderMouseMoveScale.bind(this, this.scaleStartWidth + moveX, this.scaleStartHeight + moveY, scaleX, scaleY)); | |
| 281 | + this.renderFunc.enqueue(this.renderMouseMoveScale.bind(this, this.scaleStartWidth + moveX, this.scaleStartHeight + moveY, scaleY)); | |
| 282 | 282 | } |
| 283 | 283 | break; |
| 284 | 284 | } |