Files
__mahjong/ogs-mahjong/ver-mac/src/MahjongApp.swift
T

18 lines
385 B
Swift

import SwiftUI
@main
struct MahjongApp: App {
@NSApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate
var body: some Scene {
WindowGroup {
ZStack {
RenderView()
.ignoresSafeArea()
RootView(appDelegate.rootVM)
}
}
.defaultSize(width: 640, height: 480)
}
}