From aa3ec73b4520cfb723bd4fed3b2445587faa2e82 Mon Sep 17 00:00:00 2001 From: Victor Seiji Hariki Date: Sun, 25 Dec 2022 23:39:04 -0300 Subject: [PATCH] make config readonly Signed-off-by: Victor Seiji Hariki --- js/config.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/js/config.js b/js/config.js index 631c318..6120e78 100644 --- a/js/config.js +++ b/js/config.js @@ -3,7 +3,10 @@ * * Do NOT confuse with settings, which are modifiable by either the settings menu, or in the application itself. */ -const config = { - // Scroll Tick Limit (How much must scroll to reach next tick) - wheelTickSize: 50, -}; +const config = makeReadOnly( + { + // Scroll Tick Limit (How much must scroll to reach next tick) + wheelTickSize: 50, + }, + "config" +);