Add missing argument to SetClampedToScreen().
Ludovicus [03-14-19 - 20:22]
Add missing argument to SetClampedToScreen().
diff --git a/TomTom.lua b/TomTom.lua
index a34b29a..a442c3f 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -359,7 +359,7 @@ function TomTom:ShowHideCoordBlock()
TomTomBlock:SetFrameStrata("LOW")
TomTomBlock:SetMovable(true)
TomTomBlock:EnableMouse(true)
- TomTomBlock:SetClampedToScreen()
+ TomTomBlock:SetClampedToScreen(true)
TomTomBlock:RegisterForDrag("LeftButton")
TomTomBlock:RegisterForClicks("RightButtonUp")
TomTomBlock:SetPoint("TOP", Minimap, "BOTTOM", -20, -10)
diff --git a/TomTom_CrazyArrow.lua b/TomTom_CrazyArrow.lua
index 40fb8f9..4db2373 100755
--- a/TomTom_CrazyArrow.lua
+++ b/TomTom_CrazyArrow.lua
@@ -42,6 +42,7 @@ wayframe:SetWidth(56)
wayframe:SetPoint("CENTER", 0, 0)
wayframe:EnableMouse(true)
wayframe:SetMovable(true)
+wayframe:SetClampedToScreen(true)
wayframe:Hide()
-- Frame used to control the scaling of the title and friends