diagnostic tool fixes
This commit is contained in:
@ -146,7 +146,12 @@ func (is *InventoryScreen) InventoryRender() {
|
||||
footerHeight = footerHeight + 2
|
||||
}
|
||||
_, headerHeight := menuLayer.PrintInside(is.Rect, is.header, blt.TK_ALIGN_LEFT)
|
||||
itemField := types.Rect{is.X, is.Y + headerHeight + 1, is.W, is.H - headerHeight - footerHeight}
|
||||
itemField := types.Rect{
|
||||
X: is.X,
|
||||
Y: is.Y + headerHeight + 1,
|
||||
W: is.W,
|
||||
H: is.H - headerHeight - footerHeight,
|
||||
}
|
||||
_ = itemField
|
||||
is.pageSize = itemField.H - 2
|
||||
|
||||
|
Reference in New Issue
Block a user