fix lint errors

GitOrigin-RevId: 5de396b25947e1de5bea55ecc32bacc59e5b336d
This commit is contained in:
Colin McMillen 2020-02-25 19:18:58 -05:00
parent efccefa5b1
commit 0a64d17db5
6 changed files with 7 additions and 8 deletions

View File

@ -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; }

View File

@ -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.