Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Edit Maps on maps with an adjusted grid loses the adjustment. #923

Closed
Phergus opened this issue Nov 20, 2019 · 1 comment
Closed
Assignees
Labels

Comments

@Phergus
Copy link
Contributor

Phergus commented Nov 20, 2019

Describe the bug
This will most often be seen when the map image is selected and "embedded" versus dropped on the Background layer. When embedded it is not unusual for a grid that is part of the image to be offset from the MapTool grid. Using Edit -> Adjust Grid allows you to get the grid size and offset correct. Having done so, if you then later use Map -> Edit Map to change one or more map properties, or change nothing at all but merely click on OK, the previously set grid offsets are lost causing a shift of any tokens that are set snap-to-grid.

To Reproduce
Steps to reproduce the behavior:

  1. Load campaign file attached below.
  2. Note Hero token at (4,6) in a tunnel intersection.
  3. Use Ctrl-G to see that grid is aligned with map.
  4. Use Ctrl-Shift-A to open Adjust Grid to see offsets of (-28,-26).
  5. From Map menu select Edit Map. Click on OK.
  6. Hero token shifts up and to the left. Observe Grid is no longer offset.
  7. Use Ctrl-Shift-A to open Adjust Grid and note offsets are now 0.

Expected behavior
Expect offsets to be retained.

MapTool Info

  • Version: 1.5.4+ but probably any version with Edit Map.
  • Install: Any

Desktop (please complete the following information):

  • OS: Windows
  • Version: 10

Additional context
Remove .zip from filename.
BugEmbeddedMapShift.cmpgn.zip

@Phergus
Copy link
Contributor Author

Phergus commented Dec 25, 2019

Closing.

@Phergus Phergus closed this as completed Dec 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant