Thing position, linedef offset and sector height boxes now all change in increments of 8 (16 with Shift, 1 with Ctrl).

This commit is contained in:
MascaraSnake 2016-01-02 15:30:01 +01:00
parent bbfb569d0f
commit e773c543e5
2 changed files with 563 additions and 563 deletions

View file

@ -430,8 +430,8 @@ namespace CodeImp.DoomBuilder.Windows
//
// frontTextureOffset
//
this.frontTextureOffset.ButtonStep = 16;
this.frontTextureOffset.ButtonStepBig = 32F;
this.frontTextureOffset.ButtonStep = 8;
this.frontTextureOffset.ButtonStepBig = 16F;
this.frontTextureOffset.ButtonStepSmall = 1F;
this.frontTextureOffset.ButtonStepsUseModifierKeys = true;
this.frontTextureOffset.DefaultValue = 0;
@ -529,8 +529,8 @@ namespace CodeImp.DoomBuilder.Windows
//
// backTextureOffset
//
this.backTextureOffset.ButtonStep = 16;
this.backTextureOffset.ButtonStepBig = 32F;
this.backTextureOffset.ButtonStep = 8;
this.backTextureOffset.ButtonStepBig = 16F;
this.backTextureOffset.ButtonStepSmall = 1F;
this.backTextureOffset.ButtonStepsUseModifierKeys = true;
this.backTextureOffset.DefaultValue = 0;
@ -571,7 +571,7 @@ namespace CodeImp.DoomBuilder.Windows
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "LinedefEditForm";
this.Opacity = 1;
this.Opacity = 1D;
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;

View file

@ -198,9 +198,9 @@ namespace CodeImp.DoomBuilder.Windows
posX.Text = ((int)ft.Position.x).ToString();
posY.Text = ((int)ft.Position.y).ToString();
posZ.Text = (useabsoluteheight ? ((int)Math.Round(ft.Position.z + floorheight)).ToString() : ((int)ft.Position.z).ToString());
posX.ButtonStep = General.Map.Grid.GridSize;
/*posX.ButtonStep = General.Map.Grid.GridSize;
posY.ButtonStep = General.Map.Grid.GridSize;
posZ.ButtonStep = General.Map.Grid.GridSize;
posZ.ButtonStep = General.Map.Grid.GridSize;*/
// Action/tags
action.Value = ft.Action;