Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'taptap' into 'master'
[fingerterm] Fix VKB toggle on tap.

Before commit b595712 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
  • Loading branch information
pvuorela committed Dec 2, 2016
2 parents 76fa166 + d4cf427 commit a18e3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qml/Main.qml
Expand Up @@ -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 {
Expand Down

0 comments on commit a18e3f3

Please sign in to comment.