Change the Reset All callback back to CosmeticsEditor_ResetAll, because it's already set up to not reset HUD position stuff.

This commit is contained in:
Malkierian 2025-04-10 18:01:56 -07:00
commit df6c071d9e

View file

@ -2413,8 +2413,7 @@ void CosmeticsEditorWindow::DrawElement() {
}
ImGui::SameLine();
if (UIWidgets::Button("Reset All", UIWidgets::ButtonOptions().Size(ImVec2(250.0f, 0.0f)).Color(THEME_COLOR))) {
CVarClearBlock("gCosmetics");
ApplyOrResetCustomGfxPatches();
CosmeticsEditor_ResetAll();
}
if (UIWidgets::Button("Lock All", UIWidgets::ButtonOptions().Size(ImVec2(250.0f, 0.0f)).Color(THEME_COLOR))) {
for (auto& [id, cosmeticOption] : cosmeticOptions) {