adjusted lua code

This commit is contained in:
Schnitzel5 2025-08-04 00:13:23 +02:00
parent c58646244e
commit 8f2fe123bf

View file

@ -211,8 +211,8 @@ class StorageProvider {
CustomButton(
title: "+85 s",
codePress:
"""local intro_length = mp.get_property_number("user-data/current-anime/intro-length")
aniyomi.right_seek_by(intro_length)""",
"""local intro_length = mp.get_property_native("user-data/current-anime/intro-length")
aniyomi.right_seek_by(intro_length)""",
codeLongPress:
"""aniyomi.int_picker("Change intro length", "%ds", 0, 255, 1, "user-data/current-anime/intro-length")""",
codeStartup: """function update_button(_, length)