Commit Graph

7 Commits

Author SHA1 Message Date
christoph-heinrich
588609bf45 tweak: treat italic as a width offset rather then a factor (#506) 2023-04-15 10:30:23 +02:00
tomasklaen
02228282be refactor: uppercase constants 2023-03-27 16:52:32 +02:00
christoph-heinrich
811b2c5f33 fix: timestamp offsets should respect the trimmed time width (#443)
* fix: constant width for hovered time

* fix: respect the trimmed time width in the buffered time indicator

* perf: cache timestamp substitutes for width calculation

Co-authored-by: tomasklaen <tomas.klaen@gmail.com>

---------

Co-authored-by: tomasklaen <tomas.klaen@gmail.com>
2023-01-31 09:11:56 +01:00
christoph-heinrich
4c706b9303 fix: declare variable before function using it (#396) 2022-12-23 09:10:07 +01:00
christoph-heinrich
8b863a611f fix: osd resolution initializing incorrectly (#383)
* fix: only update resolution when it's > 0

* fix: only render after the resolution has been initialized

* chore: update type annotation to fix warning
2022-12-04 09:09:20 +01:00
tomasklaen
d9e5853542 fix: text_width() ignoring global font_bold option 2022-10-31 09:24:12 +01:00
tomasklaen
4399904bba refactor: change directory structure to support mpv 0.32 and lower 2022-10-27 12:09:59 +02:00