The other half
Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 185 B After Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 334 B |
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 124 B |
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 334 B |
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 125 B |
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 669 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 133 B |
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 669 B |
Before Width: | Height: | Size: 162 B After Width: | Height: | Size: 134 B |
@ -961,7 +961,7 @@ screen preferences():
|
||||
vbox:
|
||||
style_prefix "check"
|
||||
label _("Performance")
|
||||
textbutton _("Disable heavy text animations.") action [Function(onclick_audio, persistent.text_no_ATL), ToggleVariable("persistent.text_no_ATL", True, False)]
|
||||
textbutton _("Disable heavy text animations.") action [Function(onclick_audio, persistent.text_no_heavy_ATL), ToggleVariable("persistent.text_no_heavy_ATL", True, False)]
|
||||
vbox:
|
||||
style_prefix "check"
|
||||
label _("Skip")
|
||||
@ -1872,7 +1872,7 @@ screen preferences():
|
||||
vbox:
|
||||
style_prefix "check"
|
||||
label _("Performance")
|
||||
textbutton _("Disable heavy text animations.") action [Function(onclick_audio, persistent.text_no_ATL), ToggleVariable("persistent.text_no_ATL", True, False)]
|
||||
textbutton _("Disable heavy text animations.") action [Function(onclick_audio, persistent.text_no_heavy_ATL), ToggleVariable("persistent.text_no_heavy_ATL", True, False)]
|
||||
|
||||
hbox:
|
||||
style_prefix "slider"
|
||||
|
@ -827,7 +827,7 @@ transform gym_shaker_hit(x=0.0, y=0.0):
|
||||
# ATL TEXT TAG TRANSFORMS
|
||||
#
|
||||
|
||||
default persistent.text_no_ATL = False
|
||||
default persistent.text_no_heavy_ATL = False
|
||||
|
||||
# Shouting
|
||||
transform sh:
|
||||
|
@ -352,19 +352,19 @@ init python:
|
||||
|
||||
# For toggling in the options menu
|
||||
def atl_toggle_tag(tag, argument, contents):
|
||||
if persistent.text_no_ATL:
|
||||
if persistent.text_no_heavy_ATL:
|
||||
new_contents = []
|
||||
|
||||
for kind,text in contents:
|
||||
if kind!=3: # Kind=3 When the text is a newline
|
||||
new_contents.append((kind,text))
|
||||
else:
|
||||
if kind==3: # Kind=3 When the text is a newline
|
||||
new_contents.append((1,' ')) # We replace the newline character with a space
|
||||
else:
|
||||
new_contents.append((kind,text))
|
||||
|
||||
return new_contents # feed the text back it's own content tuples
|
||||
return new_contents # feed the text back it's own filtered content tuples
|
||||
else:
|
||||
return atl_tag(tag, argument, contents)
|
||||
|
||||
#config.custom_text_tags["atl_tog"] = atl_toggle_tag
|
||||
config.custom_text_tags["atl_heavy"] = atl_toggle_tag
|
||||
|
||||
config.custom_text_tags["atl"] = atl_toggle_tag
|
||||
config.custom_text_tags["atl"] = atl_tag
|
||||
|