Description
Infield is a small library for scaling or moving things around the screen while still actually keeping them on the screen.
Functions:
Infield_AddRescaleAction(function) - Add a function to execute when the UI Scale is changed.
Infield_Scale(Frame, scale) - will scale a frame while keeping its top left corner in a constant position. Its parallel to a normal function is Frame:SetScale(scale)
Infield_Reposition(Frame) - repositions a frame so that it is inside of UIParent.
Infield_Place(frame, point, parent, relPoint, x, y) - places the frame at the given position, then repositions it to be within the boundaries of UIParent. Its parallel is Frame:SetPoint(point, parent, relPoint, x, y).
An example frame has been provided to demonstrate a movable frame using Infield.


