fix lint errors
GitOrigin-RevId: 5de396b25947e1de5bea55ecc32bacc59e5b336d
This commit is contained in:
parent
efccefa5b1
commit
0a64d17db5
@ -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; }
|
||||
|
@ -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…
Reference in New Issue
Block a user