Closed Szunti closed 6 years ago
Hi @Szunti , there's a conflict in the merge, can you rebase and resubmit?
I think this was solved by the confilcting commit, but I can't test because pressing g and left clicking is broken, it just selects the target tile instead of moving.
@Szunti is that another or new bug?
New one.
There is a bug currently, because the tile is selected twice. First mousePressed saves the coordinates of the click and waits to know if another click comes. In the meantime mouseReleased calls flushGoto and selects the goal tile, but can also scroll the map if the unit centering option is set. After the doubleClickTimer fires, the saved coordinates are used to select the tile under the cursor, but after scrolling it is not the same tile anymore where the click started.