DVUI

dragRect

Get rect from mouse position using offset and size previously given to dragPreStart or dragStart.

Only valid between Window.beginand Window.end.

Source

Implementation

#
pub fn dragRect() Rect.Physical {
    return currentWindow().dragging.getRect();
}