LavaUI docs

enum FileDrag

Swift

enum FileDrag

When a press on a .onFileDrag view becomes a drag.

Sources/LavaUI/DragSource.swift:59

Properties

static let threshold: Float

Travel, in window pixels, before a press is a drag rather than a click. GTK's default is 8; a little less suits a list, where the drag is the point of pressing on a row at all and a lazy one should still start.

Sources/LavaUI/DragSource.swift:63