XBar III

23 - Fixed Xbar III AutoZoomOut, wrong variables

HI, autozoomout is/was outdated with old zoomout-vars, which set the minimap-zoom on every logon to extreme outzoomed.
Further it made with the wrong variables some bugs on my other installed addons.

Heres a fix for it:

---------------------------

function MinimapWheelZoom_OnLoad(this)
    -- g_minimapZooms = { 0.18, 0.28, 0.38, 0.49, 0.61, 0.74, 0.88, 1.03, 1.2, 1.38, 1.59, 1.82, 2.09, 2.4, 2.79, 3.2, 3.6, 4 }
    g_minimapZooms = { 1, 1.25, 1.5, 1.75, 2, 2.5, 3, 3.5, 4, 4.5, 5 }
end

---------------------------

regrats skitey

User When Change
matif Jun 29, 2010 at 06:52 UTC Changed status from New to Fixed
skitey Jun 27, 2010 at 16:31 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of matif matif Jul 26, 2010 at 16:12 UTC - 0 likes

    I want to change g_minimapZooms in XBar when Streamline install,
    But I can't, can you teach me how to change?
    This is the code which I use:

    	if (Streamline) then
    		g_minimapZooms = { XXX };
    	else
    		g_minimapZooms = { OOO };
    	end
    

    Can you tell me why can't it work?

  • Avatar of matif matif Jun 28, 2010 at 14:12 UTC - 0 likes

    Thanks for your ticket!
    Do your other addon is Streamline?
    If it is, I think VALUE is not cause of the problem, the trigger for the problem is COUNT of values, maybe.
    You can only install Streamline, don't install XBar.
    When you in the game, check the "extra minimap zoom levels" and save,
    Zoom in to MAX value,
    Then Uncheck "extra minimap zoom levels" and save.
    Finally, zoom out, it will show error, too.
    Now I fixed it in 1.57, you can take a look.

    Last edited Jun 29, 2010 by matif
  • 2 comments

Facts

Last updated
Jun 29, 2010
Reported
Jun 27, 2010
Status
Fixed - Developer made requested changes. QA should verify.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees