This commit is contained in:
Kovid Goyal
2024-05-12 14:23:37 +05:30
parent 22ecba93e5
commit 9cfd920e11

View File

@@ -115,7 +115,7 @@ func (self *FontList) draw_family_summary(start_x int, sz loop.ScreenSize) (err
}
func (self *FontList) draw_preview(x, y int, sz loop.ScreenSize) (err error) {
width_cells, height_cells := int(sz.WidthCells)-x-1, int(sz.HeightCells)-y
width_cells, height_cells := int(sz.WidthCells)-x, int(sz.HeightCells)-y
if height_cells < 3 {
return
}