commit 2acbf02dab9ce3b012f3a3588e06d689ef604094 parent 814e8b6311db1c4cc217cfe3c27624d4e3d7282a Author: n0tr1v <n0tr1v@protonmail.com> Date: Wed, 24 Jan 2024 13:28:56 -0800 Hack to make chrome go from using 50% CPU to 35% CPU Diffstat:
| M | pkg/web/handlers/poker/poker.go | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -2525,8 +2525,8 @@ body { background-color: #4caf50; } @keyframes progressBarAnimation { - from { width: 100%; } - to { width: 0; } + from { width: 100%; transform: translateZ(0); } + to { width: 0; transform: translateZ(0); } } </style>`