fix: mouse over

This commit is contained in:
mrFq1
2023-06-18 21:29:36 +08:00
parent f488f41f8d
commit f3d3d7094a

View File

@@ -98,7 +98,7 @@ struct ProxyGroupView: View {
ForEach(proxies, id: \.id) { proxy in ForEach(proxies, id: \.id) { proxy in
ProxyItemView( ProxyItemView(
proxy: proxy, proxy: proxy,
selectable: selectable selectable: [.select, .fallback].contains(proxyGroup.type)
) )
.background(proxyGroup.now == proxy.name ? Color.pink.opacity(0.3) : Color(nsColor: .textBackgroundColor)) .background(proxyGroup.now == proxy.name ? Color.pink.opacity(0.3) : Color(nsColor: .textBackgroundColor))
.cornerRadius(8) .cornerRadius(8)