Skip to content

Commit 80a2f7e

Browse files
committed
Fix incorrect frame origin
1 parent 210dd0b commit 80a2f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GateEngine/UI/GameViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public final class GameView: View {
116116
var frame = frame
117117
if mode == .offScreen {
118118
super.draw(rect, into: &canvas)
119-
frame *= interfaceScale
119+
frame = rect
120120
self._renderTarget?.size = frame.size
121121
}
122122

0 commit comments

Comments
 (0)