summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-19 02:55:04 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-19 02:55:19 +0200
commitd6ab75250ff96b202aff9db3f545891b73acb99a (patch)
tree20d3f7008e77dd0da1fb4c02ef025899acb9b959 /resources
parentMake theme visible to qml (diff)
downloadnheko-d6ab75250ff96b202aff9db3f545891b73acb99a.tar.xz
Temporarily revert TextArea change until I find a proper fix for the binding loop
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/MatrixText.qml26
1 files changed, 13 insertions, 13 deletions
diff --git a/resources/qml/MatrixText.qml b/resources/qml/MatrixText.qml
index 7a71182b..be183d53 100644
--- a/resources/qml/MatrixText.qml
+++ b/resources/qml/MatrixText.qml
@@ -6,20 +6,20 @@ import QtQuick 2.5
 import QtQuick.Controls 2.3
 import im.nheko 1.0
 
-TextArea {
+TextEdit {
     id: r
 
     property alias cursorShape: cs.cursorShape
 
-    leftInset: 0
-    bottomInset: 0
-    rightInset: 0
-    topInset: 0
-    leftPadding: 0
-    bottomPadding: 0
-    rightPadding: 0
-    topPadding: 0
-    background: null
+    //leftInset: 0
+    //bottomInset: 0
+    //rightInset: 0
+    //topInset: 0
+    //leftPadding: 0
+    //bottomPadding: 0
+    //rightPadding: 0
+    //topPadding: 0
+    //background: null
 
     ToolTip.text: hoveredLink
     ToolTip.visible: hoveredLink || false
@@ -40,9 +40,9 @@ TextArea {
     onLinkActivated: Nheko.openLink(link)
 
 
-    // propagate events up
-    onPressAndHold: (event) => event.accepted = false
-    onPressed: (event) => event.accepted = (event.button == Qt.LeftButton)
+    //// propagate events up
+    //onPressAndHold: (event) => event.accepted = false
+    //onPressed: (event) => event.accepted = (event.button == Qt.LeftButton)
 
     NhekoCursorShape {
         id: cs