some more inventory improvements
This commit is contained in:
parent
25aad1c2f5
commit
d167e5eae4
@ -104,7 +104,7 @@ func (layer Layer) PutStringInto(rect types.Rect, topOffset int, string string,
|
|||||||
if topOffset > rect.H - 2 {
|
if topOffset > rect.H - 2 {
|
||||||
return false
|
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
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user