move-unitframes: stop moving when mode is disabled

This commit is contained in:
shagu
2021-12-06 15:11:33 +01:00
parent 0807916451
commit 78e0abf17a
+1
View File
@@ -34,6 +34,7 @@ module.enable = function(self)
for _, frame in pairs(movables) do
_G[frame]:SetScript("OnDragStart", function() end)
_G[frame]:SetScript("OnDragStop", function() end)
_G[frame]:StopMovingOrSizing()
end
unlocker.movable = nil