mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 06:16:05 +02:00
Preventing redundency in SetGlobalTheme
This commit is contained in:
@@ -22,6 +22,9 @@ namespace VRCX
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static void SetGlobalTheme(int theme)
|
public static void SetGlobalTheme(int theme)
|
||||||
{
|
{
|
||||||
|
if(currentTheme == theme)
|
||||||
|
return;
|
||||||
|
|
||||||
currentTheme = theme;
|
currentTheme = theme;
|
||||||
|
|
||||||
List<Form> forms = new List<Form>();
|
List<Form> forms = new List<Form>();
|
||||||
|
|||||||
Reference in New Issue
Block a user