Started work on removing the zoom in limit

This commit is contained in:
Yousef Khadadeh 2025-09-30 11:45:03 +03:00
parent ffcf0e94ab
commit 094fce776f
16 changed files with 78 additions and 23 deletions

View file

@ -60,3 +60,8 @@ const std::vector<std::string>& BookmarkManager::sorted_names() {
const std::unordered_map<std::string, Bookmark>& BookmarkManager::bookmark_list() {
return bookmarks;
}
void BookmarkManager::scale_up(const WorldScalar& scaleUpAmount) {
for(auto& [n, b] : bookmarks)
b.coords.scale_about(WorldVec{0, 0}, scaleUpAmount, true);
}