removes hovering id
This commit is contained in:
parent
f4fe19ae90
commit
d4c46f2879
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue