tomasklaen
6eb48fa571
fix: render_volume()
doesn't need to check for has_audio
2022-08-31 17:13:14 +02:00
tomasklaen
39ae0650c1
refactor: abstract drawing text, rectangles, and circles
2022-08-31 17:04:30 +02:00
christoph-heinrich
272a8efb47
fix: cursor line visually not matching cursor when on top of foreground ( #150 )
2022-08-31 12:24:47 +02:00
christoph-heinrich
c94914cca1
fix: cursor to time conversion was half a pixel imprecise ( #152 )
...
When clicking at a pixel, one would expect to click at the middle of
that pixel instead of the left edge of that pixel.
Add 0.5 to the cursor position to be in the middle.
2022-08-31 10:56:52 +02:00
christoph-heinrich
f363879f04
fix: hovered time didn't use correct time ( #151 )
...
It didn't just show the wrong time when hovering, but also the wrong
chapter when close to a transition.
2022-08-31 09:22:43 +02:00
tomasklaen
9fbc64889c
fix: total time being scaled with speed
...
closes #149
2022-08-31 08:41:50 +02:00
tomasklaen
9bfa8a5e66
refactor: swap icons to google's material icons font
...
ref #147
2022-08-30 23:18:07 +02:00
christoph-heinrich
f0a4b34635
fix: timeline progress smoothness and blurring ( #145 )
...
* Don't clip incomplete pixels on background
* Render background in parts instead of clipping for foreground
2022-08-30 21:55:27 +02:00
christoph-heinrich
65b82f8be9
fix: progress line x coordinate ignoring window border ( #146 )
2022-08-30 20:26:38 +02:00
tomasklaen
92b346ae28
refactor: use self functions
2022-08-30 17:06:05 +02:00
tomasklaen
4365f78e46
refactor: move ass_opacity to assdraw extensions
2022-08-30 16:24:41 +02:00
tomasklaen
804faf9e01
refactor!: use icon font to render icons
2022-08-30 16:24:14 +02:00