Merge pull request from RebeccaStankus/emojiDoubleClickSound

Emoji app duplicates sound on opening from toolbar
This commit is contained in:
Zach Fox 2019-09-09 11:27:26 -07:00 committed by GitHub
commit eb286d992e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,10 +35,8 @@ TextField {
leftPadding: 0
rightPadding: root.rightGlyph === "" ? 0 : rightGlyphItem.implicitWidth + simplifiedUI.sizes.controls.textField.rightGlyphPadding
onFocusChanged: {
if (focus) {
Tablet.playSound(TabletEnums.ButtonClick);
}
onPressed: {
Tablet.playSound(TabletEnums.ButtonClick);
}
onHoveredChanged: {