diff --git a/RatingBuster.lua b/RatingBuster.lua index d9a838c..3374514 100644 --- a/RatingBuster.lua +++ b/RatingBuster.lua @@ -161,7 +161,13 @@ ColorPickerFrame:SetFrameStrata("FULLSCREEN_DIALOG") ColorPickerFrame:SetMovable(true) ColorPickerFrame:EnableMouse(true) ColorPickerFrame:RegisterForDrag("LeftButton") -ColorPickerFrame:SetScript("OnDragStart", ColorPickerFrame.StartMoving) +ColorPickerFrame:SetScript("OnDragStart", function(self, button) + for _, frame in ipairs(C_System.GetFrameStack()) do + if frame == ColorPickerFrameHeader then + ColorPickerFrame:StartMoving() + end + end +end) ColorPickerFrame:SetScript("OnDragStop", ColorPickerFrame.StopMovingOrSizing) ColorPickerFrame:Show()