Hi,
For number 1 - Note: I haven't tested this
I think that the problem might be the way you're setting the scripts for moving the frame. At line 21, Try
Lua Code:
frame:SetScript("OnDragStart", function(self)
if not InCombatLockdown()
self:StartMoving()
end
end)
and line 22
Lua Code:
frame:SetScript("OnDragStop", function(self)
if not InCombatLockdown() then
self:StopMovingOrSizing()
end
end)
For number 2.
The frame Strata is set too high for what you want. Change the frame strata level from HIGH on line 19 to a lower strata like BACKGROUND.
https://wowpedia.fandom.com/wiki/Frame_Strata
auLanTisteNT, you will need to save the position as a part of your OnDragStop function. Phanx does it here.
https://github.com/phanx-wow/CrowBar/blob/master/core.lua. Phanx no longer plays or monitors the community but her coding is beautiful.