chore: upgrade jetkvm native and fix the params of fadeIn / fadeOut

This commit is contained in:
Siyuan Miao 2025-09-16 23:07:01 +02:00
parent cf679978be
commit 936380d99f
3 changed files with 3 additions and 3 deletions

View File

@ -64,11 +64,11 @@ func lvObjSetOpacity(objName string, opacity int) (*CtrlResponse, error) { // no
}
func lvObjFadeIn(objName string, duration uint32) (*CtrlResponse, error) {
return CallCtrlAction("lv_obj_fade_in", map[string]any{"obj": objName, "time": duration})
return CallCtrlAction("lv_obj_fade_in", map[string]any{"obj": objName, "duration": duration})
}
func lvObjFadeOut(objName string, duration uint32) (*CtrlResponse, error) {
return CallCtrlAction("lv_obj_fade_out", map[string]any{"obj": objName, "time": duration})
return CallCtrlAction("lv_obj_fade_out", map[string]any{"obj": objName, "duration": duration})
}
func lvLabelSetText(objName string, text string) (*CtrlResponse, error) {

BIN
resource/jetkvm_native Normal file → Executable file

Binary file not shown.

View File

@ -1 +1 @@
01db2bbcd0bad46c3e21eb3cc5687d15df2153c3d8e2d4665b37acb55f0b5a57
a4fca98710932aaa2765b57404e080105190cfa3af69171f4b4d95d4b78f9af0