Skip to content

Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.

fix: increase ringSize to prevent clipping of animated aura in CallChatWindow

Rishabh Bajpai863cbff3c746
diff --git a/app/src/main/java/com/gotcha/ui/CallChatWindow.kt b/app/src/main/java/com/gotcha/ui/CallChatWindow.kt
index e78359b..55ed3dc 100644
--- a/app/src/main/java/com/gotcha/ui/CallChatWindow.kt
+++ b/app/src/main/java/com/gotcha/ui/CallChatWindow.kt
@@ -459,7 +459,11 @@ class CallChatWindow(context: Context) {
return@post
}
- val ringSize = (BTN_SIZE_DP * 1.5f * density).toInt()
+ // Window must be big enough to hold the largest aura the wave /
+ // breathe reaches (radius up to ~btnPx * 2.24), otherwise the round
+ // glow gets clipped to the window's square edge. Sized generously
+ // and centered; it's transparent and non-touchable so this is free.
+ val ringSize = (BTN_SIZE_DP * 5f * density).toInt()
val drawable = RingDrawable().apply {
ringRadius = 0f
strokeWidth = 2.5f * density