fix dragging
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user