Add checkbox to enable/disable moving field editor on mouse drag (#467)

This commit is contained in:
Charlie U
2021-03-22 18:27:29 -04:00
committed by GitHub
parent 008f372f9c
commit 8fd348448a
2 changed files with 16 additions and 1 deletions

View File

@@ -247,7 +247,7 @@ private void GetAcreCoordinates(MouseEventArgs e, out int x, out int y)
private void PB_Acre_MouseMove(object sender, MouseEventArgs e)
{
var l = Map.CurrentLayer;
if (e.Button == MouseButtons.Left)
if (e.Button == MouseButtons.Left && CHK_MoveOnDrag.Checked)
{
MoveDrag(e);
return;