mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-05-22 08:17:23 +02:00
Account for HiDiPi displays
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user