Commit a18e3f3b authored by pvuorela's avatar pvuorela

Merge branch 'taptap' into 'master'

[fingerterm] Fix VKB toggle on tap.

Before commit b5957121 when tapping on the terminal area this was toggling the VKB visibility. This issue is reported in TJC https://together.jolla.com/question/149436/bug-204fiskarsinjoki-broke-hiding-keyboard-in-fingerterm/.

This MR fix this.

See merge request !17
parents 76fa1663 d4cf4277
......@@ -150,7 +150,7 @@ Item {
// - not in select mode, as it would be hard to select text
if (touchPoint.y < vkb.y && touchPoint.startY < vkb.y &&
Math.abs(touchPoint.y - touchPoint.startY) < 20 &&
util.dragMode == Util.DragSelect) {
util.dragMode !== Util.DragSelect) {
if (vkb.active) {
window.sleepVKB();
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment