mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-04-28 13:17:58 +03:00
Change the Reset All callback back to CosmeticsEditor_ResetAll
, because it's already set up to not reset HUD position stuff. (#5385)
This commit is contained in:
parent
f304de2eb1
commit
1416b2490a
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue