mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix V1 menu
This commit is contained in:
parent
89b2ec96d1
commit
876480464b
@ -55,6 +55,8 @@ namespace Bloxstrap
|
|||||||
{ "UI.Menu.Style.EnableV4.1", "FFlagEnableInGameMenuControls" },
|
{ "UI.Menu.Style.EnableV4.1", "FFlagEnableInGameMenuControls" },
|
||||||
{ "UI.Menu.Style.EnableV4.2", "FFlagEnableInGameMenuModernization" },
|
{ "UI.Menu.Style.EnableV4.2", "FFlagEnableInGameMenuModernization" },
|
||||||
{ "UI.Menu.Style.EnableV4Chrome", "FFlagEnableInGameMenuChrome" },
|
{ "UI.Menu.Style.EnableV4Chrome", "FFlagEnableInGameMenuChrome" },
|
||||||
|
{ "UI.Menu.Style.ReportButtonCutOff", "FFlagFixReportButtonCutOff" },
|
||||||
|
|
||||||
|
|
||||||
{ "UI.Menu.Style.ABTest.1", "FFlagEnableMenuControlsABTest" },
|
{ "UI.Menu.Style.ABTest.1", "FFlagEnableMenuControlsABTest" },
|
||||||
{ "UI.Menu.Style.ABTest.2", "FFlagEnableV3MenuABTest3" },
|
{ "UI.Menu.Style.ABTest.2", "FFlagEnableV3MenuABTest3" },
|
||||||
@ -104,7 +106,8 @@ namespace Bloxstrap
|
|||||||
{ "V2Rollout", null },
|
{ "V2Rollout", null },
|
||||||
{ "EnableV4", null },
|
{ "EnableV4", null },
|
||||||
{ "EnableV4Chrome", null },
|
{ "EnableV4Chrome", null },
|
||||||
{ "ABTest", null }
|
{ "ABTest", null },
|
||||||
|
{ "ReportButtonCutOff", null }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -115,7 +118,8 @@ namespace Bloxstrap
|
|||||||
{ "V2Rollout", "0" },
|
{ "V2Rollout", "0" },
|
||||||
{ "EnableV4", "False" },
|
{ "EnableV4", "False" },
|
||||||
{ "EnableV4Chrome", "False" },
|
{ "EnableV4Chrome", "False" },
|
||||||
{ "ABTest", "False" }
|
{ "ABTest", "False" },
|
||||||
|
{ "ReportButtonCutOff", "False" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -126,7 +130,8 @@ namespace Bloxstrap
|
|||||||
{ "V2Rollout", "100" },
|
{ "V2Rollout", "100" },
|
||||||
{ "EnableV4", "False" },
|
{ "EnableV4", "False" },
|
||||||
{ "EnableV4Chrome", "False" },
|
{ "EnableV4Chrome", "False" },
|
||||||
{ "ABTest", "False" }
|
{ "ABTest", "False" },
|
||||||
|
{ "ReportButtonCutOff", null }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -137,7 +142,8 @@ namespace Bloxstrap
|
|||||||
{ "V2Rollout", "0" },
|
{ "V2Rollout", "0" },
|
||||||
{ "EnableV4", "True" },
|
{ "EnableV4", "True" },
|
||||||
{ "EnableV4Chrome", "False" },
|
{ "EnableV4Chrome", "False" },
|
||||||
{ "ABTest", "False" }
|
{ "ABTest", "False" },
|
||||||
|
{ "ReportButtonCutOff", null }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -148,7 +154,8 @@ namespace Bloxstrap
|
|||||||
{ "V2Rollout", "0" },
|
{ "V2Rollout", "0" },
|
||||||
{ "EnableV4", "True" },
|
{ "EnableV4", "True" },
|
||||||
{ "EnableV4Chrome", "True" },
|
{ "EnableV4Chrome", "True" },
|
||||||
{ "ABTest", "False" }
|
{ "ABTest", "False" },
|
||||||
|
{ "ReportButtonCutOff", null }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -547,9 +547,16 @@ namespace Bloxstrap
|
|||||||
if (oldV2Val is not null)
|
if (oldV2Val is not null)
|
||||||
{
|
{
|
||||||
if (oldV2Val == "True")
|
if (oldV2Val == "True")
|
||||||
|
{
|
||||||
App.FastFlags.SetPreset("UI.Menu.Style.V2Rollout", "0");
|
App.FastFlags.SetPreset("UI.Menu.Style.V2Rollout", "0");
|
||||||
|
|
||||||
|
if (App.FastFlags.GetValue("UI.Menu.Style.EnableV4.1") == "False")
|
||||||
|
App.FastFlags.SetPreset("UI.Menu.Style.ReportButtonCutOff", "False");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
App.FastFlags.SetPreset("UI.Menu.Style.V2Rollout", "100");
|
App.FastFlags.SetPreset("UI.Menu.Style.V2Rollout", "100");
|
||||||
|
}
|
||||||
|
|
||||||
App.FastFlags.SetValue("FFlagDisableNewIGMinDUA", null);
|
App.FastFlags.SetValue("FFlagDisableNewIGMinDUA", null);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user