[bugfix] Fix missing threshold construction
This commit is contained in:
parent
b5c701994b
commit
14bcc38fa5
@ -47,6 +47,7 @@ namespace comfortable_swipe::gesture
|
|||||||
const char* down4 /* 111 */
|
const char* down4 /* 111 */
|
||||||
):
|
):
|
||||||
comfortable_swipe::gesture::xdo_gesture(),
|
comfortable_swipe::gesture::xdo_gesture(),
|
||||||
|
threshold_squared(threshold*threshold),
|
||||||
commands(new const char*[8]{left3, left4, right3, right4, up3, up4, down3, down4})
|
commands(new const char*[8]{left3, left4, right3, right4, up3, up4, down3, down4})
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user