From d467200a455ef701559dd8dd0dba84260822bd9f Mon Sep 17 00:00:00 2001 From: atsunatsu Date: Sat, 12 Sep 2026 00:32:59 +0800 Subject: [PATCH] =?UTF-8?q?style(map):=20roamed=20stripes=20=E2=80=94=2044?= =?UTF-8?q?f=20spacing,=2014f=20width,=20alpha=2090=20(match=20green=20fil?= =?UTF-8?q?l)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User picked the spacing-44/width-14 GridMaster-style zebra from the preview grid; opacity lowered to the same alpha as the worked green fill (90). --- .../look4sat/feature/map/MaidenheadGridOverlay.kt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MaidenheadGridOverlay.kt b/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MaidenheadGridOverlay.kt index 26676842..8141a47b 100644 --- a/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MaidenheadGridOverlay.kt +++ b/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MaidenheadGridOverlay.kt @@ -58,11 +58,11 @@ class MaidenheadGridOverlay : Overlay() { } private val roamStripePaint = Paint(Paint.ANTI_ALIAS_FLAG).apply { style = Paint.Style.STROKE - strokeWidth = 7f - // Fully opaque blue: stripe bands stay pure blue even over a green - // worked fill — no alpha blend into a teal/green mix (user requirement: - // the two colors must never stack into a single mixed color). - color = Color.argb(255, 66, 133, 244) + strokeWidth = 14f + // Same alpha as the green worked fill (90) — user req: stripe opacity + // must match the green grid. Wide 14f stripes at 44f spacing read as a + // sparse GridMaster-style zebra (user picked spacing 44 / width 14). + color = Color.argb(90, 66, 133, 244) } private val ownLinePaint = Paint(Paint.ANTI_ALIAS_FLAG).apply { strokeWidth = 6f @@ -495,6 +495,8 @@ class MaidenheadGridOverlay : Overlay() { const val MIN_LABEL_CELL_PX = 48f const val MAX_OVERSHOOT_PX = 64 /** Center-to-center spacing of the roamed-grid zebra stripes, in px. */ - const val STRIPE_SPACING_PX = 16f + // 44f spacing (was 16f — too dense per user) with 14f-wide stripes; + // sparse GridMaster-style zebra. + const val STRIPE_SPACING_PX = 44f } }