Add double-click to edit for power mode cards functionality
This commit is contained in:
parent
98108cdf42
commit
d62ffbc630
@ -296,7 +296,7 @@ struct ConfigurationRow: View {
|
||||
HStack(spacing: 4) {
|
||||
Image(systemName: "hand.tap")
|
||||
.font(.system(size: 10))
|
||||
Text("Right-click to edit/delete")
|
||||
Text("Double-click to edit • Right-click for more options")
|
||||
.font(.caption2)
|
||||
}
|
||||
.foregroundColor(.secondary)
|
||||
@ -317,6 +317,9 @@ struct ConfigurationRow: View {
|
||||
isHovering = hovering
|
||||
}
|
||||
}
|
||||
.onTapGesture(count: 2) {
|
||||
onEditConfig(config)
|
||||
}
|
||||
.contextMenu {
|
||||
Button(action: {
|
||||
onEditConfig(config)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user