Skip to content

Commit cbf2bd6

Browse files
fix(screens): play hover and activate sound for button
1 parent f04875e commit cbf2bd6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

game/screens.rpy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ style gui_text:
2727

2828
style button:
2929
properties gui.button_properties("button")
30+
hover_sound "ui/mouserelease1.ogg"
31+
activate_sound "ui/click.ogg"
3032

3133
style button_text is gui_text:
3234
properties gui.text_properties("button")
@@ -231,8 +233,8 @@ style choice_vbox:
231233

232234
style choice_button is default:
233235
properties gui.button_properties("choice_button")
234-
activate_sound "ui/click.ogg"
235236
hover_sound "ui/mouserelease1.ogg"
237+
activate_sound "ui/click.ogg"
236238

237239
style choice_button_text is default:
238240
properties gui.text_properties("choice_button")

0 commit comments

Comments
 (0)