some more inventory improvements

This commit is contained in:
anton.gurov 2019-11-19 17:28:37 +03:00
parent 25aad1c2f5
commit d167e5eae4

View File

@ -104,7 +104,7 @@ func (layer Layer) PutStringInto(rect types.Rect, topOffset int, string string,
if topOffset > rect.H - 2 {
return false
}
blt.PrintExt(rect.X + 2, rect.Y + topOffset, rect.W - 4, rect.H - 4, alignment, string)
blt.PrintExt(rect.X + 2, rect.Y + topOffset + 2, rect.W - 4, rect.H - 4, alignment, string)
return true
}