Permalink
Browse files

_Underscore.WorldMap: Map dungeon level mousewheel scrolling now coop…

…erates with mousewheel zooming.
  • Loading branch information...
Saiket committed Dec 31, 2014
1 parent 4cd0a4c commit c398af63052a5baa78d3e832c5b57db46ffb4c4d
Showing with 2 additions and 2 deletions.
  1. +2 −2 _Underscore.WorldMap/_Underscore.WorldMap.lua
@@ -13,7 +13,7 @@ local L = NS.L;
NS.Frame = CreateFrame( "Frame", nil, WorldMapButton );
-- Note: Parent ScrollHandler to WorldMapFrame so it gets disabled when Carbonite takes over
NS.ScrollHandler = CreateFrame( "Frame", nil, WorldMapFrame ); -- Can insecurely toggle mousewheel input
NS.ScrollHandler = CreateFrame( "Frame", nil, WorldMapScrollFrame ); -- Can insecurely toggle mousewheel input
local Tooltip = CreateFrame( "Frame", nil, NS.Frame );
NS.Tooltip = Tooltip;
@@ -109,7 +109,7 @@ Tooltip.Text:SetAllPoints();
local ScrollHandler = NS.ScrollHandler;
ScrollHandler:SetAllPoints( WorldMapButton );
ScrollHandler:SetAllPoints();
ScrollHandler:SetScript( "OnMouseWheel", ScrollHandler.OnMouseWheel );
ScrollHandler:EnableMouseWheel( false );
ScrollHandler:SetScript( "OnShow", ScrollHandler.OnShow );

0 comments on commit c398af6

Please sign in to comment.