Adds a toggle to switch accents from images to text tags. (#13698)

This commit is contained in:
Matt Atlas
2022-05-01 03:27:59 +02:00
committed by GitHub
parent 94f8a5740a
commit ea90c087a3
14 changed files with 155 additions and 10 deletions
+8
View File
@@ -610,6 +610,14 @@ var/list/localhost_addresses = list(
prefs.save_preferences()
toggle_fullscreen(prefs.toggles_secondary & FULLSCREEN_MODE)
/client/verb/toggle_accent_tag_text()
set name = "Toggle Accent Tag Text"
set category = "Preferences"
set desc = "Toggles whether accents will be shown as text or images.."
prefs.toggles_secondary ^= ACCENT_TAG_TEXT
prefs.save_preferences()
/client/proc/toggle_fullscreen(new_value)
if(new_value)
winset(src, "mainwindow", "is-maximized=false;can-resize=false;titlebar=false;menu=menu")