...
This commit is contained in:
parent
a56e1296fd
commit
0fae3e1b10
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ def layout(self, viewport_width, viewport_height, cell_width, cell_height):
|
|||
self.render_buf = (GLuint * (s.lines * s.columns * DATA_CELL_SIZE))()
|
||||
margin = (viewport_width - ncells * cell_width) // 2
|
||||
self.window_geometry = g = WindowGeometry(
|
||||
margin, viewport_height - cell_size.height, viewport_width - margin, viewport_height, s.columns, s.lines)
|
||||
margin, viewport_height - cell_height, viewport_width - margin, viewport_height, s.columns, s.lines)
|
||||
if margin > 0:
|
||||
self.tab_bar_blank_rects = (Rect(0, g.top, g.left, g.bottom), Rect(g.right - 1, g.top, viewport_width, g.bottom))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue