mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-22 05:02:31 +00:00
...
This commit is contained in:
parent
63f8fd5929
commit
38bf1fde3a
1 changed files with 1 additions and 1 deletions
|
|
@ -403,7 +403,7 @@ class CharGrid:
|
|||
def width(w=2, vert=True):
|
||||
dpi = self.dpix if vert else self.dpiy
|
||||
w *= dpi / 72.0 # as pixels
|
||||
factor = 2 / (self.width if vert else self.height)
|
||||
factor = 2 / (viewport_size.width if vert else viewport_size.height)
|
||||
return w * factor
|
||||
|
||||
ul = cursor_program.uniform_location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue