This commit is contained in:
rootdarkarchon
2023-10-25 16:37:49 +02:00
parent 2221f4d09e
commit 5013f22e18

View File

@@ -517,12 +517,12 @@ public class SettingsUi : WindowMediatorSubscriberBase
_lastTab = "General"; _lastTab = "General";
UiSharedService.FontText("General Settings", _uiShared.UidFont); UiSharedService.FontText("General Settings", _uiShared.UidFont);
bool lessRedraws = _configService.Current.UseLessRedraws; bool lessRedraws = _configService.Current.UseLessRedraws;
if (ImGui.Checkbox("[Experimental] Use less redraws", ref lessRedraws)) if (ImGui.Checkbox("[Experimental] Use fewer redraws", ref lessRedraws))
{ {
_configService.Current.UseLessRedraws = lessRedraws; _configService.Current.UseLessRedraws = lessRedraws;
_configService.Save(); _configService.Save();
} }
UiSharedService.DrawHelpText("This will attempt to use less redraws. Changes that solely affect the players body appearance (i.e. clothes) should not cause a redraw anymore." + Environment.NewLine + UiSharedService.DrawHelpText("This will attempt to use fewer redraws. Changes that solely affect the players body appearance (i.e. clothes) should not cause a redraw anymore." + Environment.NewLine +
"Some changes, especially to hair, face, tail or any vfx, animation or skeleton changes, or class changes will still force a redraw." + Environment.NewLine + Environment.NewLine + "Some changes, especially to hair, face, tail or any vfx, animation or skeleton changes, or class changes will still force a redraw." + Environment.NewLine + Environment.NewLine +
"WARNING: this is an experimental, little tested feature and can potentially lead to issues with animation state or crashes. Use at your own risk."); "WARNING: this is an experimental, little tested feature and can potentially lead to issues with animation state or crashes. Use at your own risk.");
ImGui.Separator(); ImGui.Separator();