 
 void HandleViewportBorderDragMove(StringHash eventType, VariantMap& eventData)
 {
-
     UIElement@ dragBorder = eventData["Element"].GetUIElement();
     if (dragBorder is null)
         return;

    uint hPos;
    uint vPos;

    // moves border to new cursor position, restricts motion to 1 axis, and keeps borders within view area
    if (resizingBorder & VIEWPORT_BORDER_V_ANY > 0)
    {
        hPos = Clamp(ui.cursorPosition.x, 150, viewportArea.width-150);

        dragBorder.position = IntVector2(hPos, vPos);
    }

    // Move all dependent borders
    Array<UIElement@> borders = viewportUI.GetChildren();
    for (uint i = 0; i < borders.length; ++i)
    {
