some
This commit is contained in:
1 parent
baa2b5e542
commit
bc4745a638
3 files changed
+9
-1
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import SwiftCrossUI
|
||||
|
||||
public extension Scene {
|
||||
func desktopSize(_ size: [Int]) -> some Scene {
|
||||
return defaultSize(width: size[0], height: size[1])
|
||||
}
|
||||
}
|
||||
@@ -27,6 +27,6 @@ struct HCMApp: App {
|
||||
delegate.setup()
|
||||
}
|
||||
}
|
||||
.defaultSize(width: 640, height: 480)
|
||||
.desktopSize([640, 480])
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../components/cui/linux/cuiDesktopSize.swift
|
||||
Reference in new issue
Block a user