Merge branch 'master' of https://github.com/Hikari9/comfortable-swipe into improve-status

This commit is contained in:
Rico Tiongson 2020-05-07 22:39:04 +08:00
commit 09225f318c

View File

@ -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);