adjusted default zoom sensitivity for touchpad

This commit is contained in:
poanse 2026-02-03 15:07:59 +03:00
parent 4fd97a3e13
commit fa3878ae5e

View file

@ -57,7 +57,7 @@
let scaleConstant: number;
const isTouchpad = Math.abs(e.deltaY) < 50;
if (isTouchpad) {
scaleConstant = 0.05 * (parseNumber(context.plugin.settings.zoomSensitivityTouchpad) ?? 100) / 100;
scaleConstant = 0.1 * (parseNumber(context.plugin.settings.zoomSensitivityTouchpad) ?? 100) / 100;
} else {
scaleConstant = 0.5 * (parseNumber(context.plugin.settings.zoomSensitivityMouse) ?? 100) / 100;
}