More descriptive IDs that match between mods.

This commit is contained in:
Matthias Mailänder
2023-07-25 21:11:21 +02:00
committed by Gustas
parent 2b0afd6acb
commit de9a5eb71e
16 changed files with 37 additions and 37 deletions

View File

@@ -222,7 +222,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
var origHeightText = windowHeight.Text = ds.WindowedSize.Y.ToString(NumberFormatInfo.CurrentInfo);
windowHeight.Text = ds.WindowedSize.Y.ToString(NumberFormatInfo.CurrentInfo);
var restartDesc = panel.Get("RESTART_REQUIRED_DESC");
var restartDesc = panel.Get("VIDEO_RESTART_REQUIRED_DESC");
restartDesc.IsVisible = () => ds.Mode != OriginalGraphicsMode || ds.VideoDisplay != OriginalVideoDisplay || ds.GLProfile != OriginalGLProfile ||
(ds.Mode == WindowMode.Windowed && (origWidthText != windowWidth.Text || origHeightText != windowHeight.Text));