Fix incorrect variable using when resizing boxes (fixes #99)
This commit is contained in:
Naruki Azuma 2019-02-12 03:56:43 +09:00 committed by Qix
parent 63fcba36d5
commit 3266c06145
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ export default class DrawMove {
for (var end of this.ends) {
drawLine(this.state, this.startPosition, end.position, end.clockwise, ' ');
}
for (var i in this.ends) {
for (var end of this.ends) {
drawLine(this.state, position, end.position, end.clockwise);
}
for (var end of this.ends) {