fix
This commit is contained in:
parent
00a722f407
commit
2d90e70b69
@ -25,26 +25,9 @@ struct SettingsView: View {
|
||||
NavigationSplitView(columnVisibility: $columnVisibility) {
|
||||
List(MenuItem.allCases, id: \.self, selection: $selectedMenu) { menu in
|
||||
HStack(alignment: .center) {
|
||||
// Rectangle()
|
||||
// .frame(width: 3, height: 25)
|
||||
// .foregroundColor(self.selectedMenu == menu ? .black : .clear)
|
||||
|
||||
Text(menu.rawValue)
|
||||
|
||||
Spacer()
|
||||
}
|
||||
// .contentShape(Rectangle())
|
||||
// .onTapGesture {
|
||||
// self.selectedMenu = menu
|
||||
// }
|
||||
// .onHover { inside in
|
||||
// hovering = inside
|
||||
// if inside {
|
||||
// NSCursor.pointingHand.push()
|
||||
// } else {
|
||||
// NSCursor.pop()
|
||||
// }
|
||||
// }
|
||||
}
|
||||
.listStyle(.sidebar)
|
||||
.frame(minWidth: 180, idealWidth: 200, maxWidth: 250)
|
||||
|
||||
@ -43,7 +43,7 @@ struct punchnetApp: App {
|
||||
var body: some Scene {
|
||||
WindowGroup(id: "mainWindow") {
|
||||
// RootView()
|
||||
RegisterRootView()
|
||||
SettingsView()
|
||||
.navigationTitle("")
|
||||
.environment(self.appContext)
|
||||
.environment(self.userContext)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user