Fixed grid action names and description for clarification

This commit is contained in:
codeimp 2009-05-17 14:58:45 +00:00
parent 79116a2a42
commit 04b883f999
2 changed files with 10 additions and 8 deletions

View file

@ -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)

View file

@ -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;