Fixed some more resizing bugs in certain situations not covered by mycology
This commit is contained in:
parent
2f66ddcb91
commit
749caa9e26
4 changed files with 43 additions and 5 deletions
|
@ -86,6 +86,9 @@ func (f *Field) Blank(x, y int) {
|
|||
f.x = f.lines[0].x
|
||||
x2 := f.lines[0].l + f.lines[0].x
|
||||
for i := 1; i < f.ly; i++ {
|
||||
if f.lines[i].l == 0 {
|
||||
continue
|
||||
}
|
||||
if f.x > f.lines[i].x {
|
||||
f.x = f.lines[i].x
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue