Account for HiDiPi displays

This commit is contained in:
stopflock
2025-10-09 10:42:07 -05:00
parent b8b9d4b797
commit b8834cd256
+2 -2
View File
@@ -16,7 +16,7 @@ const double kDirectionConeHalfAngle = 35.0; // degrees
const double kDirectionConeBaseLength = 5; // multiplier
const Color kDirectionConeColor = Color(0xD0767474); // FOV cone color
const double kDirectionConeOpacity = 0.6; // Fill opacity for FOV cones
const double kDirectionConeBorderWidth = 1.6; // Border stroke width for FOV cones
const double kDirectionConeBorderWidth = 1.6 * MediaQuery.of(context).devicePixelRatio; // Border stroke width for FOV cones
// Bottom button bar positioning
const double kBottomButtonBarOffset = 4.0; // Distance from screen bottom (above safe area)
@@ -89,7 +89,7 @@ const int kAbsoluteMaxZoom = 23;
// Node icon configuration
const double kNodeIconDiameter = 18.0;
const double kNodeRingThickness = 2.5;
const double kNodeRingThickness = 2.5 * MediaQuery.of(context).devicePixelRatio;
const double kNodeDotOpacity = 0.3; // Opacity for the grey dot interior
const Color kNodeRingColorReal = Color(0xFF3036F0); // Real nodes from OSM - blue
const Color kNodeRingColorMock = Color(0xD0FFFFFF); // Add node mock point - white