mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 14:31:50 +00:00
Fixed grid action names and description for clarification
This commit is contained in:
parent
79116a2a42
commit
04b883f999
2 changed files with 10 additions and 8 deletions
|
@ -260,8 +260,9 @@ namespace CodeImp.DoomBuilder.Editing
|
|||
}
|
||||
|
||||
// This changes grid size
|
||||
// Note: these were incorrectly swapped before, hence the wrong action name
|
||||
[BeginAction("gridinc")]
|
||||
internal void IncreaseGrid()
|
||||
internal void DecreaseGrid()
|
||||
{
|
||||
// Not lower than 1
|
||||
if(gridsize >= 2)
|
||||
|
@ -275,8 +276,9 @@ namespace CodeImp.DoomBuilder.Editing
|
|||
}
|
||||
|
||||
// This changes grid size
|
||||
// Note: these were incorrectly swapped before, hence the wrong action name
|
||||
[BeginAction("griddec")]
|
||||
internal void DecreaseGrid()
|
||||
internal void IncreaseGrid()
|
||||
{
|
||||
// Not higher than 1024
|
||||
if(gridsize <= 512)
|
||||
|
|
|
@ -304,22 +304,22 @@ gridsetup
|
|||
allowscroll = true;
|
||||
}
|
||||
|
||||
griddec
|
||||
griddec // Note, these were incorrectly swapped before, hence the wrong action name
|
||||
{
|
||||
title = "Grid Decrease";
|
||||
title = "Grid Increase";
|
||||
category = "edit";
|
||||
description = "Decreases the grid density.";
|
||||
description = "Increases the grid size, decreasing the grid density.";
|
||||
unbind = 1;
|
||||
mousebuttons = 0;
|
||||
mousescroll = 1;
|
||||
}
|
||||
|
||||
|
||||
gridinc
|
||||
gridinc // Note, these were incorrectly swapped before, hence the wrong action name
|
||||
{
|
||||
title = "Grid Increase";
|
||||
title = "Grid Decrease";
|
||||
category = "edit";
|
||||
description = "Increases the grid density.";
|
||||
description = "Decreases the grid size, increasing the grid density.";
|
||||
unbind = 1;
|
||||
mousebuttons = 0;
|
||||
mousescroll = 1;
|
||||
|
|
Loading…
Reference in a new issue