removes hovering id

This commit is contained in:
Stuart Breckenridge 2020-11-19 12:05:20 +08:00
parent f4fe19ae90
commit d4c46f2879
1 changed files with 0 additions and 3 deletions

View File

@ -20,15 +20,12 @@ struct EnableExtensionPointHelpView: View {
var helpText: String var helpText: String
weak var preferencesController: ExtensionPointPreferencesViewController? weak var preferencesController: ExtensionPointPreferencesViewController?
@State private var hoveringId: String?
var body: some View { var body: some View {
VStack { VStack {
HStack { HStack {
ForEach(0..<extensionPoints.count, content: { i in ForEach(0..<extensionPoints.count, content: { i in
Button(action: { Button(action: {
preferencesController?.enableExtensionPointFromSelection(extensionPoints[i]) preferencesController?.enableExtensionPointFromSelection(extensionPoints[i])
hoveringId = nil
}, label: { }, label: {
Image(nsImage: extensionPoints[i].image) Image(nsImage: extensionPoints[i].image)
.resizable() .resizable()