void UI::SetScrollFromPosX(float local_x, float center_x_ratio = 0.5f)
Adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position.
float
local_x
float
center_x_ratio