Replace magical constant with a less magical constant

This commit is contained in:
UnicornFreedom 2025-08-20 01:48:30 +02:00
parent d9e65fc67e
commit 3f9ad3c710
No known key found for this signature in database
GPG Key ID: B4ED0DB6B940024F

View File

@ -650,7 +650,7 @@ class WorkspaceView extends Widget with Persistable with MouseHandler with Hover
if (OcelotDesktop.emulationPaused) {
g.fontSizeMultiplier = 2.0f
g.foreground = Color.White
g.alphaMultiplier = (math.sin(System.currentTimeMillis() * 0.0174533 / 3).toFloat + 1f) / 2.0f
g.alphaMultiplier = (math.sin(System.currentTimeMillis() * math.Pi / 180 / 3).toFloat + 1f) / 2.0f
g.text(size.width - 130, 60, "|| PAUSE")
g.fontSizeMultiplier = 1.0f
g.alphaMultiplier = 1.0f