[bugfix] Fix missing threshold construction

This commit is contained in:
Rico Tiongson 2019-02-07 22:18:18 +08:00
parent b5c701994b
commit 14bcc38fa5

View File

@ -47,6 +47,7 @@ namespace comfortable_swipe::gesture
const char* down4 /* 111 */
):
comfortable_swipe::gesture::xdo_gesture(),
threshold_squared(threshold*threshold),
commands(new const char*[8]{left3, left4, right3, right4, up3, up4, down3, down4})
{ }