Skip to content

Commit

Permalink
v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
riknoll committed Jun 6, 2023
1 parent d45af20 commit ed3e193
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ namespace splitScreen {
}

protected renderCameraRegion(camera: CameraState, defaultRegion: CameraRegion, skipDraw: boolean) {
switch (camera.region || defaultRegion) {
switch (camera.region == undefined ? defaultRegion : camera.region) {
case CameraRegion.TopLeft:
this.renderCamera(camera, 0, 0, screen.width >> 1, screen.height >> 1, skipDraw)
break;
Expand Down
2 changes: 1 addition & 1 deletion pxt.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arcade-split-screen",
"version": "0.0.1",
"version": "0.0.2",
"description": "",
"dependencies": {
"device": "*"
Expand Down

0 comments on commit ed3e193

Please sign in to comment.