From ad18a2bd7f0d02a4da1ce623bd9131dc5ed34a0d Mon Sep 17 00:00:00 2001 From: NoM0Re Date: Fri, 14 Feb 2025 19:03:25 +0100 Subject: [PATCH] fix dragging --- .../AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua b/WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua index e527b4e..fbefd5b 100644 --- a/WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua +++ b/WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua @@ -1139,12 +1139,12 @@ local methods = { -- mark as being dragged, attach to mouse and raise frame strata self.dragging = true self.frame:StartMoving() - self.frame:ClearAllPoints() + --self.frame:ClearAllPoints() self.frame.temp = { parent = self.frame:GetParent(), strata = self.frame:GetFrameStrata(), } - self.frame:SetParent(UIParent) + --self.frame:SetParent(UIParent) self.frame:SetFrameStrata("FULLSCREEN_DIALOG") if self.data.id == mainAura.id then self.frame:SetPoint("Center", UIParent, "BOTTOMLEFT", (x+w/2)*scale/uiscale, y/uiscale)