From ce37b4694eed34a59dc5a8b9b6c7ed9a137165f0 Mon Sep 17 00:00:00 2001 From: MshNiyaz Date: Sat, 24 Aug 2024 12:26:06 +0800 Subject: [PATCH] Fixed fade, added FPS tracking --- css/toolbar.css | 6 ++++++ css/windows.css | 1 + index.html | 11 ++++++----- js/automata.js | 27 +++++++++++---------------- js/inputs/config.js | 12 ++++++------ js/utils.js | 23 ++++------------------- 6 files changed, 34 insertions(+), 46 deletions(-) diff --git a/css/toolbar.css b/css/toolbar.css index 18806ab..2041dbc 100644 --- a/css/toolbar.css +++ b/css/toolbar.css @@ -4,6 +4,12 @@ color: var(--bg-color); } +/*! FPS Tracker*/ +#fps-tracker { + background-color: var(--theme-color); + color: var(--bg-color); +} + /*! Console */ #console-container { padding: 0px 10px 0px 10px; diff --git a/css/windows.css b/css/windows.css index 81af638..6feffbc 100644 --- a/css/windows.css +++ b/css/windows.css @@ -12,6 +12,7 @@ opacity: var(--toolbar-opacity); display: none; z-index: 2; + scrollbar-color: var(--theme-color) var(--highlight-color); } .window-header { diff --git a/index.html b/index.html index 48e02fe..bc2184c 100644 --- a/index.html +++ b/index.html @@ -33,7 +33,8 @@
-

Cellula

+ Cellula +

FPS: 0