Mapster

168 - Scrolling floor levels

What is the enhancement in mind? How should it look and feel?

On multiple floor level instances, have the ability to scroll the levels with mouse wheel input. Only when mouse is over frame to be specific :P

I have found myself trying to find out where a person is in the instance and the default blizzard options are terrible and slow. I have noticed myself making a Grr face at it a couple of times lol.

I have used Mapster for a very long time and it would be great if implemented for that one time when you are traversing instance levels :)

Please provide any additional information below.

Mapster.lua line: 125

    WorldMapFrame:EnableMouseWheel(true)
    WorldMapFrame:SetScript("OnMouseWheel", function(self, delta)
        local numOfMLevels = GetNumDungeonMapLevels()
        if numOfMLevels > 1 then
            local currentMLevel = GetCurrentMapDungeonLevel()
            if delta > 0 and currentMLevel ~= numOfMLevels then
                SetDungeonMapLevel(currentMLevel + 1)
            elseif delta < 0 and currentMLevel ~= 1 then
                SetDungeonMapLevel(currentMLevel - 1)
            end
        end
    end)

Works good, tested it with all your instance maps. Cheers. And thanks for the awesome addon Mapster.

User When Change
Shaft840 Mar 10, 2014 at 14:29 UTC Create

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

Facts

Reported
Mar 10, 2014
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees