Commit c3621664 authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-27009patch8.0.1_Beta

parent 9106bb53
......@@ -159,10 +159,8 @@ function ScrappingMachineItemSlotMixin:Clear()
end
function ScrappingMachineItemSlotMixin:OnLoad()
self:RegisterForClicks("LeftButtonDown");
self:RegisterForClicks("RightButtonDown");
self:RegisterForClicks("LeftButtonDown", "RightButtonDown");
self:RegisterForDrag("LeftButton");
self:RegisterForDrag("RightButton");
self:RegisterEvent("SCRAPPING_MACHINE_PENDING_ITEM_CHANGED");
end
......
......@@ -2708,6 +2708,9 @@ function FramePositionDelegate:UpdateUIPanelPositions(currentFrame)
UIParent:SetAttribute("CENTER_OFFSET", centerOffset);
frame:Raise();
else
centerOffset = leftOffset;
UIParent:SetAttribute("CENTER_OFFSET", centerOffset);
frame = self:GetUIPanel("doublewide");
if ( frame ) then
local xOff = GetUIPanelWindowInfo(frame,"xoffset") or 0;
......@@ -3318,7 +3321,7 @@ function CloseWindows(ignoreCenter, frameToIgnore)
end
found = securecall("CloseSpecialWindows") or found;
UpdateUIPanelPositions();
return found;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment