Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add braces on multiline if
  • Loading branch information
pvuorela committed Jun 9, 2016
1 parent a8f3e55 commit fdf9ab2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qml/Key.qml
Expand Up @@ -149,8 +149,9 @@ Rectangle {

if (key.isClick) {
if (Math.abs(x - key.pressMouseX) > key.clickThreshold
|| Math.abs(y - key.pressMouseY) > key.clickThreshold)
|| Math.abs(y - key.pressMouseY) > key.clickThreshold) {
key.isClick = false
}
}

return true;
Expand Down

0 comments on commit fdf9ab2

Please sign in to comment.