Merge pull request #10872 from AffectedArc07/changelog-button-fix

Refactors changelog button
This commit is contained in:
variableundefined
2019-02-11 21:14:17 +08:00
committed by GitHub
3 changed files with 22 additions and 9 deletions
@@ -494,9 +494,3 @@
to_chat(C, "Couldn't update your last seen changelog, please try again later.")
return
return 1
/datum/preferences/proc/UpdateChangelogButton(client/C)
if(preferences_datums[C.ckey].toggles & UI_DARKMODE)
winset(C, "rpane.changelog", "background-color=#40628a;text-color=#ffffff;font-style=none")
else
winset(C, "rpane.changelog", "background-color=none;text-color=#000000;font-style=none")