make config readonly

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
Victor Seiji Hariki 2022-12-25 23:39:04 -03:00
parent 3d298473b7
commit aa3ec73b45

View file

@ -3,7 +3,10 @@
* *
* Do NOT confuse with settings, which are modifiable by either the settings menu, or in the application itself. * Do NOT confuse with settings, which are modifiable by either the settings menu, or in the application itself.
*/ */
const config = { const config = makeReadOnly(
// Scroll Tick Limit (How much must scroll to reach next tick) {
wheelTickSize: 50, // Scroll Tick Limit (How much must scroll to reach next tick)
}; wheelTickSize: 50,
},
"config"
);