mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-16 18:00:48 +00:00
unlock: delay dock updates when scaling changes
This commit is contained in:
+2
-3
@@ -286,7 +286,7 @@ pfUI:RegisterModule("unlock", function ()
|
|||||||
end
|
end
|
||||||
|
|
||||||
if frame.OnMove then frame:OnMove() end
|
if frame.OnMove then frame:OnMove() end
|
||||||
UpdateDockValues()
|
QueueFunction(UpdateDockValues)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function DraggerOnMouseDown()
|
local function DraggerOnMouseDown()
|
||||||
@@ -557,8 +557,7 @@ pfUI:RegisterModule("unlock", function ()
|
|||||||
frame:StopMovingOrSizing()
|
frame:StopMovingOrSizing()
|
||||||
SavePosition(frame)
|
SavePosition(frame)
|
||||||
end
|
end
|
||||||
|
QueueFunction(SetDockToFrame, pfUI.unlock.dock.parent)
|
||||||
UpdateDockValues()
|
|
||||||
end)
|
end)
|
||||||
SkinButton(pfUI.unlock.dock.reset,.2,1,.8)
|
SkinButton(pfUI.unlock.dock.reset,.2,1,.8)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user