Commit Graph

218 Commits

Author SHA1 Message Date
Zhong Lufan
2e281b51a2 fix: urls without slashes not recognized as urls (#336) 2022-10-20 22:32:22 +02:00
Hikari
1c5a061388 fix: pause while dragging the timeline (#335) 2022-10-20 19:49:09 +02:00
christoph-heinrich
f4e0d2ba49 fix: touch input (#327) 2022-10-15 10:49:51 +02:00
christoph-heinrich
0f964879b2 fix: spacing and clipping in menu (#325)
Puts clipping position right in the middle of the spacing between title
and hint. This gives us a little bit more leeway to prevent clipping from
inaccurate width estimation.

Also now only adds spacing where necessary.
2022-10-15 10:40:53 +02:00
christoph-heinrich
df3c2ec14c fix: use ass_safe_title (#328)
It was created but not used
2022-10-15 10:40:27 +02:00
christoph-heinrich
9516325ba8 fix: menu title/hint clipping (#321) 2022-10-13 11:13:54 +02:00
christoph-heinrich
fa049a1cfa fix: buffered time x bounds calculation (#323) 2022-10-13 11:05:29 +02:00
christoph-heinrich
34b9b59603 fix: don't render empty title (#319) 2022-10-12 08:43:12 +02:00
christoph-heinrich
2c4cfd70ee fix: properly update title (#318)
Get the properties relevant to the title, observe and update based on
their changes.
2022-10-12 08:41:39 +02:00
tomasklaen
5995bfb7ae feat: implement set-min-visibility message listener
closes #317
2022-10-11 17:55:35 +02:00
tomasklaen
2fb5ff69a8 4.3.0 2022-10-11 13:02:45 +02:00
tomasklaen
ef1753e27e feat: update default menu items 2022-10-11 12:12:51 +02:00
tomasklaen
629617117f tweak: thumbnail border opacity 2022-10-11 10:58:37 +02:00
tomasklaen
66a29d67f9 refactor: title template updating
closes #312
2022-10-11 10:23:23 +02:00
Hikari
840181825c fix: menu parser not ignoring other comments (#315) 2022-10-11 09:43:03 +02:00
tomasklaen
3aa0ae6584 fix: remove debugging prints 2022-10-10 10:44:45 +02:00
tomasklaen
be1b978528 fix: title initializing prematurely and not accounting for dynamic variables
ref #312
2022-10-10 10:40:22 +02:00
tomasklaen
30a3ec195d feat: move @ in control badge props from prefix to suffix for consistency
The old `@prop` syntax will still work, but consider it deprecated.
2022-10-10 10:20:46 +02:00
tomasklaen
75ab13f2e3 feat: make toggle and cycle controls work with external properties
ref #310
2022-10-10 09:56:16 +02:00
tomasklaen
7d2c59bb51 fix: title not escaping ass tags from filenames
closes #314
2022-10-10 09:09:03 +02:00
tomasklaen
993cfa5d21 tweak: click_threshold descrition and top bar subtitle offset 2022-10-10 09:02:57 +02:00
christoph-heinrich
d3f25af012 fix: options.click_threshold (#309) 2022-10-10 08:56:52 +02:00
tomasklaen
63fc2e8499 fix: CycleButton internal prop state not initiating properly
closes #310
2022-10-09 11:47:40 +02:00
tomasklaen
b5726097cc fix: current chapter not updating on chapter list changes 2022-10-09 11:14:44 +02:00
tomasklaen
5bb12b23ca fix: thumbnail not clearing when timeline dragging released outside of timeline
closes #311
2022-10-09 11:12:03 +02:00
tomasklaen
a942a932c6 fix: drag seeking crashing the UI during file loads
closes #305
2022-10-08 09:32:11 +02:00
tomasklaen
e94f9bf290 feat: implement click_threshold and click_command options
Deprecates `pause_on_click_shorter_than`.
2022-10-08 09:04:54 +02:00
christoph-heinrich
93bb49edce feat: automatically choose between fast and exact seeking (#302) 2022-10-07 23:04:51 +02:00
christoph-heinrich
9dd78e85eb fix: use mouse-pos property instead of keybinds (#301) 2022-10-07 22:16:29 +02:00
tomasklaen
3a759d212d tweak: scale BufferingIndicator with window 2022-10-07 16:57:39 +02:00
tomasklaen
9935d6b72a fix: shuffle not really random
closes #303
2022-10-07 16:41:18 +02:00
christoph-heinrich
51abce27a0 feat: better buffering detection (#298)
* feat: better buffering detection

Leverage not just information from the cache, but also the player
playback state to get a better idea of when playback is stalled due to
buffering.

Use different metric for enabling the indicator then for disabling it.
This allows the indicator to be continuously on instead of switching
on/off multiple times within the same stall.

* tweak: buffering indicator draws it's own curtain
2022-10-07 16:38:50 +02:00
tomasklaen
7d5082135c fix: icons affected by font_bold=yes
This was causing misalignments such as buffering indicator icon wobbling while rotating.
2022-10-07 16:23:02 +02:00
tomasklaen
983c389a4f feat: add timeline_drag_seek_keyframes option
Makes dragging in timeline use faster seeking to keyframes. Disabled by default.
2022-10-06 22:40:01 +02:00
christoph-heinrich
521f880a18 refactor: more compact request_render() (#299) 2022-10-06 21:42:49 +02:00
tomasklaen
5fdcddd548 tweak: thumbnail border style 2022-10-06 17:03:26 +02:00
tomasklaen
db15ae00c0 fix: thumbnail not clearing when dragging timeline out of window
When user started seeking by dragging the timeline, and released the button while hovering out of window, thumbnail would not clear.
2022-10-06 16:49:59 +02:00
tomasklaen
8959fc1540 fix: broken texture tiling when font_bold was enabled 2022-10-06 16:44:22 +02:00
tomasklaen
b2e7b5f453 fix: remove opinionated opacity tweaks 2022-10-06 11:32:31 +02:00
tomasklaen
87a66b7378 revert: restore *_text color options
I've changed my mind :x Seen a screenshot with a valid use case for tweaking these.
2022-10-06 11:18:33 +02:00
christoph-heinrich
f37cba2c1d feat: add buffering indicator (#292)
* fix: only fade in curtain when registered elements become > 0
* feat: add buffering indicator
2022-10-05 19:39:07 +02:00
tomasklaen
3d1fb7161c refactor: make curtain keep track of its dependents
ref #292
2022-10-05 12:43:49 +02:00
tomasklaen
f9981ce58f feat: replace *_text color options with contrasting color detection
ref #294
2022-10-05 10:22:26 +02:00
tomasklaen
adb31a9697 fix: some things not using correct colors 2022-10-05 09:53:08 +02:00
tomasklaen
08744815b1 style: remove semicolons and some whitespace 2022-10-04 23:29:13 +02:00
tomasklaen
e8b8a69c25 feat: implement flash-ui binding and flash-elements message 2022-10-03 17:01:04 +02:00
tomasklaen
2347334bf7 refactor: tracklist hint serialization
ref #289
2022-10-03 16:01:59 +02:00
dyphire
e90858fc59 feat: add external hint for tracklist menu (#289) 2022-10-03 15:55:03 +02:00
hooke007
45bd5f1723 fix: osd-align-* properties messing up the UI (#286)
close https://github.com/tomasklaen/uosc/issues/285
2022-10-03 09:22:59 +02:00
tomasklaen
40b470f8ba 4.2.0 2022-10-02 13:20:53 +02:00