Files
__mahjong/ogs-chkgfx/ver-mac/src/ChkgfxApp.swift
T

18 lines
388 B
Swift

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