Browse Source

fix lint errors

GitOrigin-RevId: 5de396b259
master
Colin McMillen 4 years ago
parent
commit
0a64d17db5
  1. 1
      Shared/Camera.cs
  2. 2
      Shared/Debug.cs

1
Shared/Camera.cs

@ -7,7 +7,6 @@ namespace SemiColinGames {
class Camera {
// Screen size in pixels is 1920x1080 divided by 4.
private Rectangle bbox = new Rectangle(0, 0, 480, 270);
public int Width { get => bbox.Width; }
public int Height { get => bbox.Height; }
public int Left { get => bbox.Left; }

2
Shared/Debug.cs

@ -100,7 +100,7 @@ namespace SemiColinGames {
if (!Enabled) {
return;
}
// UI should start at least 48px from the left edge of the screen, and 27 from the top, as per:
// UI should start at least 48px from the left edge of the screen and 27 from the top, as per:
// https://docs.microsoft.com/en-us/windows/uwp/design/devices/designing-for-tv#tv-safe-area
// Can test this on actual Xbox via:
// Settings > Launch Settings > Display & Sound > Resolution > 720p.

Loading…
Cancel
Save