This commit is contained in:
Михаил Капелько committed 2026-10-28 17:10:05 +03:00
1 parent aa541a8e23
commit 1dc202b1af
5 files changed
+35 -9

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
import UIKit
func renderDraw(_ vm: RenderVM) {
raybriRender(vm.pixelSize[0], vm.pixelSize[1])
}
func renderPixelSize(_ view: UIView) -> [Int32] {
let scale = view.contentScaleFactor
let w = Int32(max(1, (view.bounds.width * scale).rounded()))