summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'android-app/app/src/main/kotlin')
-rw-r--r--android-app/app/src/main/kotlin/org/terst/nav/ui/MapLayerManager.kt2
-rw-r--r--android-app/app/src/main/kotlin/org/terst/nav/ui/map/ParticleWindView.kt4
2 files changed, 3 insertions, 3 deletions
diff --git a/android-app/app/src/main/kotlin/org/terst/nav/ui/MapLayerManager.kt b/android-app/app/src/main/kotlin/org/terst/nav/ui/MapLayerManager.kt
index 8892285..83cfa70 100644
--- a/android-app/app/src/main/kotlin/org/terst/nav/ui/MapLayerManager.kt
+++ b/android-app/app/src/main/kotlin/org/terst/nav/ui/MapLayerManager.kt
@@ -84,7 +84,7 @@ class MapLayerManager(context: Context) {
})
builder.withLayer(RasterLayer(LAYER_WIND, SOURCE_WIND).apply {
- setProperties(PropertyFactory.rasterOpacity(0.6f))
+ setProperties(PropertyFactory.rasterOpacity(0.85f))
setProperties(PropertyFactory.visibility(if (windEnabled) "visible" else "none"))
})
diff --git a/android-app/app/src/main/kotlin/org/terst/nav/ui/map/ParticleWindView.kt b/android-app/app/src/main/kotlin/org/terst/nav/ui/map/ParticleWindView.kt
index aba8027..24b25db 100644
--- a/android-app/app/src/main/kotlin/org/terst/nav/ui/map/ParticleWindView.kt
+++ b/android-app/app/src/main/kotlin/org/terst/nav/ui/map/ParticleWindView.kt
@@ -44,7 +44,7 @@ class ParticleWindView @JvmOverloads constructor(
private val MAX_AGE = 8f // seconds before forced respawn
private val paint = Paint(Paint.ANTI_ALIAS_FLAG).apply {
- strokeWidth = 2.5f
+ strokeWidth = 3.5f
strokeCap = Paint.Cap.ROUND
style = Paint.Style.STROKE
}
@@ -138,7 +138,7 @@ class ParticleWindView @JvmOverloads constructor(
)
val alpha = ((1f - particleAge[i] / MAX_AGE) * 220).toInt().coerceIn(40, 220)
- paint.color = Color.argb(alpha, 255, 255, 255)
+ paint.color = Color.argb(alpha, 30, 100, 255)
canvas.drawLine(pt.x - tailDx, pt.y - tailDy, pt.x, pt.y, paint)
}