diff --git a/client/eventsSDL/InputSourceTouch.cpp b/client/eventsSDL/InputSourceTouch.cpp index f90cb2d68..456d9cfc7 100644 --- a/client/eventsSDL/InputSourceTouch.cpp +++ b/client/eventsSDL/InputSourceTouch.cpp @@ -39,7 +39,7 @@ InputSourceTouch::InputSourceTouch() params.relativeModeSpeedFactor = settings["general"]["relativePointerSpeedMultiplier"].Float(); params.longTouchTimeMilliseconds = settings["general"]["longTouchTimeMilliseconds"].Float(); params.hapticFeedbackEnabled = settings["general"]["hapticFeedback"].Bool(); - params.touchToleranceDistance = settings["input"]["touchToleranceDistance"].Bool(); + params.touchToleranceDistance = settings["input"]["touchToleranceDistance"].Float(); if (params.useRelativeMode) state = TouchState::RELATIVE_MODE;