mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
style(map): roamed stripes — 44f spacing, 14f width, alpha 90 (match green fill)
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).
This commit is contained in:
1 parent
6277e36a96
commit
d467200a45
1 file changed
+8
-6
+8
-6
@@ -58,11 +58,11 @@ class MaidenheadGridOverlay : Overlay() {
|
|||||||
}
|
}
|
||||||
private val roamStripePaint = Paint(Paint.ANTI_ALIAS_FLAG).apply {
|
private val roamStripePaint = Paint(Paint.ANTI_ALIAS_FLAG).apply {
|
||||||
style = Paint.Style.STROKE
|
style = Paint.Style.STROKE
|
||||||
strokeWidth = 7f
|
strokeWidth = 14f
|
||||||
// Fully opaque blue: stripe bands stay pure blue even over a green
|
// Same alpha as the green worked fill (90) — user req: stripe opacity
|
||||||
// worked fill — no alpha blend into a teal/green mix (user requirement:
|
// must match the green grid. Wide 14f stripes at 44f spacing read as a
|
||||||
// the two colors must never stack into a single mixed color).
|
// sparse GridMaster-style zebra (user picked spacing 44 / width 14).
|
||||||
color = Color.argb(255, 66, 133, 244)
|
color = Color.argb(90, 66, 133, 244)
|
||||||
}
|
}
|
||||||
private val ownLinePaint = Paint(Paint.ANTI_ALIAS_FLAG).apply {
|
private val ownLinePaint = Paint(Paint.ANTI_ALIAS_FLAG).apply {
|
||||||
strokeWidth = 6f
|
strokeWidth = 6f
|
||||||
@@ -495,6 +495,8 @@ class MaidenheadGridOverlay : Overlay() {
|
|||||||
const val MIN_LABEL_CELL_PX = 48f
|
const val MIN_LABEL_CELL_PX = 48f
|
||||||
const val MAX_OVERSHOOT_PX = 64
|
const val MAX_OVERSHOOT_PX = 64
|
||||||
/** Center-to-center spacing of the roamed-grid zebra stripes, in px. */
|
/** 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user