Commit a0cb86d3 authored by Tukz's avatar Tukz

Prevent /tukui move elements to go offscreen.

parent 35e8859e
......@@ -91,6 +91,7 @@ function Movers:CreateDragInfo()
self.DragInfo:SetMovable(true)
self.DragInfo:RegisterForDrag("LeftButton")
self.DragInfo:Hide()
self.DragInfo:SetClampedToScreen(true)
self.DragInfo:SetScript("OnMouseUp", Movers.RestoreDefaults)
self.DragInfo.Parent = self.DragInfo:GetParent()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment