Revert default threshold to 0.0
This commit is contained in:
parent
20832000fd
commit
c8edfb4f74
@ -51,7 +51,7 @@ Comfortable swipe makes use of keyboard shortcuts for configurations. The config
|
||||
|
||||
Property | Description | Default Value | Default Behavior
|
||||
--------- | ----------- | -------------- | -----
|
||||
threshold | mouse pixels to activate swipe; higher = less sensitive; floating-point (Note: Sky is the limit! Can be as large as 1000.0) | 20.0
|
||||
threshold | mouse pixels to activate swipe; higher = less sensitive; floating-point (Note: Sky is the limit! Can be as large as 1000.0) | 0.0
|
||||
left3 | 3-finger swipe left | ctrl+shift+Right | switch to right workspace
|
||||
left4 | 4-finger swipe left | ctrl+alt+shift+Right | move window to right workspace
|
||||
right3 | 3-finger swipe right | ctrl+shift+Left | switch to left workspace
|
||||
|
||||
@ -16,8 +16,8 @@
|
||||
#
|
||||
# (Note: Sky is the limit! Can be as large as 1000.0)
|
||||
#
|
||||
# Default: threshold = 20.0
|
||||
threshold = 20.0
|
||||
# Default: threshold = 0.0
|
||||
threshold = 0.0
|
||||
|
||||
#############################
|
||||
# THREE / FOUR FINGER SWIPE #
|
||||
|
||||
@ -42,7 +42,7 @@ namespace comfortable_swipe::service
|
||||
// initialize swipe gesture handler
|
||||
comfortable_swipe::gesture::swipe_gesture swipe
|
||||
(
|
||||
config.count("threshold") ? std::atof(config["threshold"].data()) : 0.0,
|
||||
config.count("threshold") ? std::stof(config["threshold"]) : 0.0,
|
||||
config["left3"].c_str(),
|
||||
config["left4"].c_str(),
|
||||
config["right3"].c_str(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user