mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-06-04 10:51:13 +00:00
Added, action argument inputs: added "<" and ">" prefixes. These decrement/increment given value by selected map element number.
Changed, action argument inputs: "+++" and "---" prefixes now do the same thing as they do in other numeric controls (e.g. add/subtract given value multiplied by selected map element number to/from initial value). Changed, action argument inputs: changed value colors, added tooltips.
This commit is contained in:
parent
ea57d45eb3
commit
fbca0922f4
6 changed files with 50 additions and 27 deletions
|
@ -226,7 +226,7 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
string textpart = this.Text;
|
||||
|
||||
// Strip prefixes
|
||||
textpart = textpart.Replace("+", "").Replace("-", "").Replace("*", "").Replace("/", ""); //mxd
|
||||
textpart = textpart.TrimStart('+', '-', '*', '/'); //mxd
|
||||
|
||||
// Any numbers left?
|
||||
if(textpart.Length > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue