We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96e0827 commit 1236c0dCopy full SHA for 1236c0d
Sources/GateEngine/System/Rendering/Drawables/Canvas.swift
@@ -492,11 +492,11 @@
492
- parameter estimatedCommandCount: A performance hint of how many commands will be added.
493
*/
494
@_transparent
495
- public init(window: Window, camera: Camera? = nil, estimatedCommandCount: Int = 10) {
+ public init(view: View, camera: Camera? = nil, estimatedCommandCount: Int = 10) {
496
self.init(
497
camera: camera,
498
- size: window.bounds.size,
499
- interfaceScale: window.interfaceScale,
+ size: view.bounds.size,
+ interfaceScale: view.interfaceScale,
500
estimatedCommandCount: estimatedCommandCount
501
)
502
}
0 commit comments