Modify Constants
Users can adjust the behavior of Kozaneba by rewriting constants
2021-08-20
If you find the wheel scaling too much, you can reduce it.
https://scrapbox.io/files/611fc93c5b2db30024adff73.png
If you want to reverse the movement of the cursor, you can do so by setting it to -1.
2021-08-23
It is now possible to set the speed of zooming with the wheel and touchpad separately
code:ts
export const constants = {
...
wheel_scale_speed: 10,
touchpad_scale_speed: 100,
};
But there is no royal way to distinguish between wheel and touchpad
I've exposed kozaneba.is_touchpad, so if you want to distinguish between wheel and touchpad, please rewrite it in User scripts. The default function is to always identify it as a touchpad. 2021-08-26
Make group padding adjustable.
kozaneba.constants.group_padding = 5; kozaneba.redraw();
Translated with www.DeepL.com/Translator (free version)