Exemplo n.º 1
0
        private void trkColumnsRadius_Scroll(object sender, EventArgs e)
        {
            if (formationEditingMode == FormationEditingMode.None)
            {
                return;
            }

            EnsureFormationMode();

            if (formationEditingMode == FormationEditingMode.Radius)
            {
                lastRadius = trkColumnsRadius.Value;
            }
            else
            {
                lastColumnCount = trkColumnsRadius.Value;
                MiniGrouperScript?.ClearLastMemberLocationCache();
            }

            if (MiniGrouperScript != null)
            {
                MiniGrouperScript.Data.ColumnRadius = trkColumnsRadius.Value;
                MiniGrouperScript.DataChanged();
            }

            //ResetRotationToZero();
            UpdateColumnRadiusLabel();
            UpdateFormation();
        }
Exemplo n.º 2
0
        private void rbFormation_CheckedChanged(object sender, EventArgs e)
        {
            if (changingInternally)
            {
                return;
            }

            if (rbFormation.Checked)
            {
                MiniGrouperScript?.ClearLastMemberLocationCache();
                UpdateMovementMode();
            }
        }
Exemplo n.º 3
0
 private void NewFormationSelected()
 {
     ResetRotationToZero();
     MiniGrouperScript?.ClearLastMemberLocationCache();
 }