Zoom out mirroring map.zoom.extra, and context menu to copy coord for TP command + zoom in/out - #584
Open
dpembo wants to merge 7 commits into
Open
Zoom out mirroring map.zoom.extra, and context menu to copy coord for TP command + zoom in/out#584dpembo wants to merge 7 commits into
dpembo wants to merge 7 commits into
Conversation
…r maps as a whole
- zoom in/zoom out from the mouse position - 2 methods to copy the coordinates to the buffer. - 1) Just the X and Z - 2) X,Y,Z defaulting Y to 150
…minecraft tp command
merged into context-menu changes to remove commas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously the map's minimum zoom was hardcoded to 0, matching
minNativeZoom, so it was impossible to zoom out past the lowest
rendered tile without triggering a re-render at a coarser scale.
This mirrors the existing map.zoom.extra setting (which upscales
the highest-detail tile for extra zoom-in levels) but in the other
direction: map.zoom.extra-out lets the client downscale the lowest-
detail tile (minNativeZoom) for extra zoom-out levels, with no
additional tile generation required.
Defaults to 0, preserving existing behaviour.
Needs wiki update to document the parameter
Enables a context menu on the map (right click windows).
The context menu has 4 options
Zoom in on the point where you clicked
Zoom out on the point where you clicked
Copy X Z coordinates to the clipboard
Copy X 150 Z coordinates to the clipboard (Defaults Y)