Polish phone typography and add black-screen redial epilogue

This commit is contained in:
Codex
2026-10-30 13:11:25 +02:00
parent aa45c6c0bd
commit c60ba40e9b
14 changed files with 389 additions and 57 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
extends Control
const UI_FONT = preload("res://assets/fonts/Arimo-Bold.tres")
## Vector phone shells. Screens are ordinary controls, so notifications stay clickable.
var smartphone := true
var dialing := false
@@ -26,7 +27,7 @@ func rounded(rect: Rect2, color: Color, border: Color, radius: int, width: int =
draw_style_box(box, rect)
func text_at(at: Vector2, text: String, font_size: int, color: Color) -> void:
var font := ThemeDB.fallback_font
var font: Font = UI_FONT
var width := font.get_string_size(text, HORIZONTAL_ALIGNMENT_LEFT, -1, font_size).x
draw_string(font, at - Vector2(width / 2, 0), text, HORIZONTAL_ALIGNMENT_LEFT, -1, font_size, color)