update opaque, fix inputbox enterkey on android
the build was successful Details

This commit is contained in:
erinn 2020-11-26 16:58:45 -08:00
parent f8d3277a6f
commit 7485837669
2 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit dab30aa1643cf21cd2c0bd6928a2edbf0952cffa
Subproject commit a9d5302d150b942998050aa04abf978993f7c641

View File

@ -117,8 +117,10 @@ ColumnLayout {
property bool skipOneUpdate: false
property int previousCursor
Keys.onReturnPressed: { // CTRL+ENTER = LINEBREAK // TODO: Broken
if ((event.modifiers & Qt.ShiftModifier) && gcd.os != "android") {
Keys.onReturnPressed: {
if (gcd.os == "android") return
if (event.modifiers & Qt.ShiftModifier) {
txtMessage.insert(txtMessage.cursorPosition, "\n")
} else if (event.modifiers == Qt.NoModifier) {
btnSend.clicked()