Skip to content

Player units move when panning grid #2

Description

@asteriskman7

If a player unit (spot or boss) is selected and the player pans the grid and releases the mouse button while over a valid destination for the player unit, the player unit is moved to that destination. The player unit should not move in this case.

How to reproduce:

  1. Select a player unit
  2. Begin panning the grid with ctrl/cmd
  3. Release the mouse button while over an empty grid square

The solution likely just requires checking for being in pan mode/pan key pressed and not moving the unit if this is the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions