Compare commits
1 Commits
master
...
hotfix-std
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3fa7b091c3 |
@ -92,7 +92,7 @@ int main(int argc, char *argv[]) {
|
|||||||
float threshold = 0.0f;
|
float threshold = 0.0f;
|
||||||
try {
|
try {
|
||||||
threshold = stof(config["threshold"]);
|
threshold = stof(config["threshold"]);
|
||||||
} catch (std::invalid_argument) {
|
} catch (...) {
|
||||||
}
|
}
|
||||||
// create swipe handler
|
// create swipe handler
|
||||||
gesture_swipe_xdokey keyswipe(commands, threshold);
|
gesture_swipe_xdokey keyswipe(commands, threshold);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user