Mute audio when minimized
This commit is contained in:
parent
3ea1ac6162
commit
1cee1f2930
@ -251,6 +251,11 @@ screen preferences_sound():
|
|||||||
action Preference("all mute", "toggle")
|
action Preference("all mute", "toggle")
|
||||||
style gui.theme("check_button")
|
style gui.theme("check_button")
|
||||||
|
|
||||||
|
textbutton _("Mute when minimized"):
|
||||||
|
action Preference("audio when minimized", "toggle")
|
||||||
|
selected (not _preferences.audio_when_minimized)
|
||||||
|
style gui.theme("check_button")
|
||||||
|
|
||||||
screen preferences_accessibility():
|
screen preferences_accessibility():
|
||||||
|
|
||||||
text "Disclaimer" size 18 xalign 0.5
|
text "Disclaimer" size 18 xalign 0.5
|
||||||
|
@ -8,6 +8,7 @@ default preferences.afm_time = 15
|
|||||||
default preferences.pad_enabled = False
|
default preferences.pad_enabled = False
|
||||||
default preferences.renderer = "gl2"
|
default preferences.renderer = "gl2"
|
||||||
default preferences.gl_powersave = False
|
default preferences.gl_powersave = False
|
||||||
|
default preferences.audio_when_minimized = False
|
||||||
|
|
||||||
python early:
|
python early:
|
||||||
if renpy.android:
|
if renpy.android:
|
||||||
|
Loading…
Reference in New Issue
Block a user