Tomas Klaen

Results 160 comments of Tomas Klaen

So I've added uosc detection API: ```lua -- Register response handler mp.register_script_message('uosc-version', function(version) print('uosc version', version) end) -- Ask for version mp.commandv('script-message-to', 'uosc', 'get-version', mp.get_script_name()) ``` And menu API: ```lua...

Yes, that's what the `type` prop is for (documented in readme). If you request opening a menu with a type, and menu of that type is already open, it'll not...

How about do this purely in ass tags, completely agnostic to the width of the text? Just do a bottom center alignment with `\an2` so that it grows upwards from...

Damn. Was hoping `\q0` would wrap when it touches the edges. I guess too much to ask for. So now we need to wrap ourselves. Best place for that to...

Looks good. The wrapping function does look a bit over-complicated, but I'm too lazy to come up with something myself :) The only nitpick I have, I'd like an extra...

Hm... that's true, there will be an annoying jumping for chapters at the edges. Makes sense to decouple them then.

Tried it out, and apart of hopefully the last two nitpicks below it works great! 1\. It looks better when chapter title is forced bold, so just replace the optional...

No, there's no shuffle button to enable currently, but you can add an item to the menu that toggles it: ``` alt+s cycle shuffle #! Toggle shuffle ``` This will...

Currently, icons in the UI are generated with code, and it's getting a bit out of hand. Any more icons would make me probably transition to using icon font, which...