[implemented] Little wishes for ZO_WorldMap.lua
Hi Chip,
Thank you in advance. |
Great ideas. Most of these would be very useful in several of my addons. :)
Maybe you could also look into this older wish. ;) |
Quote:
|
Quote:
Thank you! To point 2: It has to do with "my" mini map :o. Once the mode switch "keepSquare" is false, and the mini map isn't square the player pin drifts out of the center (even out of view) depending on the ratio of height/width. For example in ZO_MapPanAndZoom:Update(currentTime) you use ZO_WorldMapScroll:GetHeight() only. Assuming the width will be the same. If you use the mini map and search for Code:
myMode.mapSize = 2 Code:
myMode.mapSize = 2 To point 3: This function resizes the mini map, too. Therefore I can not add gamepad support. (very low prio) /edit: to be more precise: The caller of that function will change given width & height for mini map, too: Code:
local function SetMapWindowSize(newWidth, newHeight) I may be wrong, because I can not test it, of course. But I think it should be removed from SetMapWindowSize and inserted here: Code:
local function ResizeAndReanchorMap() |
All times are GMT -6. The time now is 11:00 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI