Fix bugs (#106)
Fix incorrect variable using when resizing boxes (fixes #99)
This commit is contained in:
parent
63fcba36d5
commit
3266c06145
|
@ -76,7 +76,7 @@ export default class DrawMove {
|
||||||
for (var end of this.ends) {
|
for (var end of this.ends) {
|
||||||
drawLine(this.state, this.startPosition, end.position, end.clockwise, ' ');
|
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);
|
drawLine(this.state, position, end.position, end.clockwise);
|
||||||
}
|
}
|
||||||
for (var end of this.ends) {
|
for (var end of this.ends) {
|
||||||
|
|
Loading…
Reference in New Issue