mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-19 23:11:03 +00:00
Restore config-based toggle for parity
This commit is contained in:
parent
f6b284a204
commit
ca0cdf6c0c
1 changed files with 20 additions and 0 deletions
|
@ -206,6 +206,26 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
pfcBackScaleTop.LinkValues = General.Settings.ReadSetting("windows." + configname + ".linkbacktopscale", false);
|
||||
pfcBackScaleMid.LinkValues = General.Settings.ReadSetting("windows." + configname + ".linkbackmidscale", false);
|
||||
pfcBackScaleBottom.LinkValues = General.Settings.ReadSetting("windows." + configname + ".linkbackbottomscale", false);
|
||||
|
||||
// Disable top/mid/bottom texture offset controls?
|
||||
if (!General.Map.Config.UseLocalSidedefTextureOffsets)
|
||||
{
|
||||
pfcFrontOffsetTop.Enabled = false;
|
||||
pfcFrontOffsetMid.Enabled = false;
|
||||
pfcFrontOffsetBottom.Enabled = false;
|
||||
|
||||
pfcBackOffsetTop.Enabled = false;
|
||||
pfcBackOffsetMid.Enabled = false;
|
||||
pfcBackOffsetBottom.Enabled = false;
|
||||
|
||||
labelFrontOffsetTop.Enabled = false;
|
||||
labelFrontOffsetMid.Enabled = false;
|
||||
labelFrontOffsetBottom.Enabled = false;
|
||||
|
||||
labelBackOffsetTop.Enabled = false;
|
||||
labelBackOffsetMid.Enabled = false;
|
||||
labelBackOffsetBottom.Enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue