Skip to content

Commit

Permalink
添加滑条音效
Browse files Browse the repository at this point in the history
框架跟进
  • Loading branch information
MrZ626 committed Mar 1, 2024
1 parent 1b01b22 commit 4a29513
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Zenitha
Submodule Zenitha updated 6 files
+34 −36 init.lua
+1 −0 json.lua
+1 −1 sfx.lua
+21 −0 sha2.lua
+21 −0 stringExtend.lua
+42 −42 widget.lua
Binary file added assets/sfx/slider_drag.ogg
Binary file not shown.
Binary file added assets/sfx/slider_fill_drag.ogg
Binary file not shown.
10 changes: 10 additions & 0 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@ WIDGET.setDefaultOption{
button={
sound_trigger='button_norm',
},
slider={
sound_drag='slider_drag',
soundInterval=.042,
soundPitchRange=7.02,
},
slider_fill={
sound_drag='slider_fill_drag',
soundInterval=.042,
soundPitchRange=7.02,
},
checkBox={
sound_on='check_on',
sound_off='check_off',
Expand Down

0 comments on commit 4a29513

Please sign in to comment.