UIElement.onStopDrag

Called once a dragging operation is finished. This function is meant to be overriden. Between onBeginDrag and onStopDrag, isDragged will return true.

Note: When a widget is dragged, and "legacyMouseDrag" version identifier is NOT used, then a dragged widget is always also isMouseOver.

class UIElement
nothrow @nogc
void
onStopDrag
()

Examples

if a mouse click started a modification of a plugin parameter, this will be a preferred place to call param.endParamEdit.

Meta