Prevent GameplayStats and TimeDisplay from getting reset on ship json drag and drop (#5269)
This commit is contained in:
committed by
GitHub
parent
eb17f2e99d
commit
05219cbbf7
@@ -1775,7 +1775,7 @@ void SohMenu::AddMenuEnhancements() {
|
||||
.WindowName("Additional Timers")
|
||||
.Options(WindowButtonOptions().Tooltip("Enables the separate Additional Timers Window."));
|
||||
AddWidget(path, "Font Scale: %.2fx", WIDGET_CVAR_SLIDER_FLOAT)
|
||||
.CVar(CVAR_ENHANCEMENT("TimeDisplay.FontScale"))
|
||||
.CVar(CVAR_TIME_DISPLAY("FontScale"))
|
||||
.Callback([](WidgetInfo& info) {
|
||||
TimeDisplayInitSettings();
|
||||
})
|
||||
@@ -1786,7 +1786,7 @@ void SohMenu::AddMenuEnhancements() {
|
||||
.Format("%.2fx")
|
||||
);
|
||||
AddWidget(path, "Hide Background", WIDGET_CVAR_CHECKBOX)
|
||||
.CVar(CVAR_ENHANCEMENT("TimeDisplay.ShowWindowBG"))
|
||||
.CVar(CVAR_TIME_DISPLAY("ShowWindowBG"))
|
||||
.Callback([](WidgetInfo& info) {
|
||||
TimeDisplayInitSettings();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user