mirror of
https://gitlab.com/cc-ru/ocelot/ocelot-desktop.git
synced 2025-12-20 02:59:19 +01:00
Replace magical constant with a less magical constant
This commit is contained in:
parent
d9e65fc67e
commit
3f9ad3c710
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user