Remove check that makes developer tools only appear when config.developer is on
This commit is contained in:
@ -998,12 +998,11 @@ screen preferences():
|
|||||||
textbutton _("After Choices") action [Function(onclick_audio, preferences.skip_after_choices), ToggleVariable("preferences.skip_after_choices", True, False)]
|
textbutton _("After Choices") action [Function(onclick_audio, preferences.skip_after_choices), ToggleVariable("preferences.skip_after_choices", True, False)]
|
||||||
textbutton _("Transitions") action [Function(onclick_audio, preferences.transitions, True), ToggleVariable("preferences.transitions", 0, 2)]
|
textbutton _("Transitions") action [Function(onclick_audio, preferences.transitions, True), ToggleVariable("preferences.transitions", 0, 2)]
|
||||||
|
|
||||||
if config.developer:
|
vbox:
|
||||||
vbox:
|
style_prefix "check"
|
||||||
style_prefix "check"
|
label _("Developer Tools")
|
||||||
label _("Developer Tools")
|
textbutton _("Enable Debug Scores") action ToggleVariable("persistent.enable_debug_scores", True, False)
|
||||||
textbutton _("Enable Debug Scores") action ToggleVariable("persistent.enable_debug_scores", True, False)
|
textbutton _("Enable Chapter Select") action ToggleVariable("persistent.enable_chapter_select", True, False)
|
||||||
textbutton _("Enable Chapter Select") action ToggleVariable("persistent.enable_chapter_select", True, False)
|
|
||||||
|
|
||||||
if not main_menu:
|
if not main_menu:
|
||||||
if config.developer and persistent.enable_debug_scores:
|
if config.developer and persistent.enable_debug_scores:
|
||||||
|
Reference in New Issue
Block a user