Avoid the options panel going out of screen with SetClampedToScreen()

This commit is contained in:
Tercio Jose
2024-05-19 14:09:04 -03:00
parent b89a550d94
commit 759b1b2224
+1
View File
@@ -509,6 +509,7 @@
pluginContainerFrame:EnableMouse(true)
pluginContainerFrame:SetMovable(true)
pluginContainerFrame:SetPoint("center", UIParent, "center", 0, 0)
pluginContainerFrame:SetClampedToScreen(true)
table.insert(UISpecialFrames, "DetailsPluginContainerWindow")
pluginContainerFrame:Hide()