Fix single click clip selection
This commit is contained in:
@@ -369,7 +369,11 @@ struct ContentView: View {
|
|||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
}
|
}
|
||||||
.contentShape(Rectangle())
|
.contentShape(Rectangle())
|
||||||
|
.onTapGesture {
|
||||||
|
selectedClipID = clip.id
|
||||||
|
}
|
||||||
.onTapGesture(count: 2) {
|
.onTapGesture(count: 2) {
|
||||||
|
selectedClipID = clip.id
|
||||||
if clip.availableVariants.count > 1 {
|
if clip.availableVariants.count > 1 {
|
||||||
variantPickerClip = clip
|
variantPickerClip = clip
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user