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

Keep position of last edit when opening a map in the editor #6328

Open
3 tasks
bunnybot opened this issue Jan 27, 2024 · 2 comments
Open
3 tasks

Keep position of last edit when opening a map in the editor #6328

bunnybot opened this issue Jan 27, 2024 · 2 comments
Labels
editor Editor-specific features enhancement New feature or request saveloading & compatibility Map/Game saving or loading, compatibility with older versions
Milestone

Comments

@bunnybot
Copy link

bunnybot commented Jan 27, 2024

frankystoneMirrored from Codeberg
Created on Sat Jan 27 11:44:35 CET 2024 by frankystone


Working on a map is mostly not done in one day. So one edit's a map, saves it, and the other day he/she wants to work on the map again. Currently a map is always opened with position 0,0 at the upper left corner of the screen, and one has to scroll the map to the position of the last edit.

Describe the solution you'd like
When opening a map in the editor the position of the last seen area of the map should be centered on the screen. This can be time based, say if the map was last saved more than 7 days ago, show 0,0 at top left corner of the screen, otherwise center the position of the last edit.

Describe alternatives you've considered
Add something like a revision tool: Store the date/time and position of the last 7 saves and provide a window showing those revisions. A click on a revision moves the map to the saved position on the screen.

This is contrary to #1694 (didn't found this issue on CB)

Implementation steps

  • ...
  • ...
  • ...
@bunnybot bunnybot added enhancement New feature or request editor Editor-specific features labels Jan 27, 2024
@bunnybot bunnybot added this to the v1.3 milestone Jan 27, 2024
@bunnybot bunnybot added the saveloading & compatibility Map/Game saving or loading, compatibility with older versions label Jan 27, 2024
@bunnybot
Copy link
Author

NordfrieseMirrored from Codeberg
On Sat Jan 27 13:28:48 CET 2024, Benedikt Straub (Nordfriese) wrote:


This should not be time-based. Like the InteractivePlayerPacket for singleplayer savegames, we can just add an EditorInteractivePacket that stores the map view, landmarks, open windows and so on and loads them in the editor only.

P.S. Like most of the issues that were imported from Launchpad, the linked issue has the same number on GH and CB: #1694

@bunnybot
Copy link
Author

frankystoneMirrored from Codeberg
On Sat Jan 27 23:57:29 CET 2024, ** (frankystone)* wrote:*


Oh yeah... if the history tool can survive a reload this would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor Editor-specific features enhancement New feature or request saveloading & compatibility Map/Game saving or loading, compatibility with older versions
Projects
None yet
Development

No branches or pull requests

1 participant