This commit is contained in:
gizak 2015-03-28 12:58:23 -04:00
parent f4c99eb5a2
commit d30d5901e7

View File

@ -58,6 +58,14 @@ func (d *Block) align() {
d.innerX++
d.innerY++
}
if d.innerHeight < 0 {
d.innerHeight = 0
}
if d.innerWidth < 0 {
d.innerWidth = 0
}
}
// Buffer implements Bufferer interface.