mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-31 00:51:37 +00:00
Changed, UDMF: rearranged linedef activation flags to make their order more logical.
Linedef/Thing Edit forms: cosmetic changes to named/numbered script drop-down locations.
This commit is contained in:
parent
0374a0bf90
commit
b047dc4ae1
7 changed files with 31 additions and 12 deletions
|
@ -216,12 +216,12 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
backlow.Initialize();
|
||||
|
||||
//mxd. Setup script numbers
|
||||
scriptNumbers.Location = arg0.Location;
|
||||
scriptNumbers.Location = new Point(arg0.Location.X, arg0.Location.Y + 2);
|
||||
foreach(ScriptItem si in General.Map.NumberedScripts) scriptNumbers.Items.Add(si);
|
||||
scriptNumbers.DropDownWidth = Tools.GetDropDownWidth(scriptNumbers);
|
||||
|
||||
//mxd. Setup script names
|
||||
scriptNames.Location = arg0.Location;
|
||||
scriptNames.Location = scriptNumbers.Location;
|
||||
foreach(ScriptItem nsi in General.Map.NamedScripts) scriptNames.Items.Add(nsi);
|
||||
scriptNames.DropDownWidth = Tools.GetDropDownWidth(scriptNames);
|
||||
|
||||
|
@ -693,6 +693,8 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
scriptNumbers.Visible = false;
|
||||
cbArgStr.Checked = false;
|
||||
}
|
||||
|
||||
arg0.Visible = (!scriptNames.Visible && !scriptNumbers.Visible);
|
||||
}
|
||||
|
||||
//mxd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue